Hello,
This page: http://www.bartlett-family.net/chris...eauty&search=1
The anchors for the links of additional page results at the bottom need to be encased in quotation marks.
The php code generating these links is
Bottom line is that if you look at the source, on line 56, you see
which needs to be
I hope I'm explaining this right... LOL. I've played with it, but since I know nothing about php, I always end up getting parse errors or something else regarding quotes wheere they shouldn't be. Erf...
Any help, please?
Chris
This page: http://www.bartlett-family.net/chris...eauty&search=1
The anchors for the links of additional page results at the bottom need to be encased in quotation marks.
The php code generating these links is
PHP Code:
print "<a href=\"".$_SERVER['PHP_SELF']."?query=".addmarks($query)."&start=".$prev."&search=1&results=$results_per_page&type=$searchtype\">".$sph_messages["Previous"]."</a> ";
$firstpage = $start - $links_to_next;
if ($firstpage < 1) $firstpage = 1;
$lastpage = $start + $links_to_next;
if ($lastpage > $pages) $lastpage = $pages;
for ($x=$firstpage; $x<=$lastpage; $x++)
if ($x<>$start) {
print "<a href=".$_SERVER['PHP_SELF']."?query=".addmarks($query)."&start=$x&search=1&results=$results_per_page&type=$searchtype>$x</a> ";
}
else
print "<b>$x </b>";
if ($next <= $pages)
print "<a href=\"".$_SERVER['PHP_SELF']."?query=".addmarks($query)."&start=".$next."&search=1&results=$results_per_page&type=$searchtype\">".$sph_messages["Next"]."</a>";
}
Code:
<a href=/
Code:
<a href="/
Any help, please?
Chris
Comment