Hi,
I'm not really sure about borland interbase so I'm sorry but I can't help u with the queries.
However, I think its correct already.
echo "<table width='100%' border='0' cellspacing='1' cellpadding='2' class='std_black'>
<tr>
<td colspan='7' bgcolor='#cccccc' style='border-bottom:1px solid #999999;'>RESULT</td>
</tr>";
echo "<tr>
<td width='75' bgcolor='#cccccc' style='border-bottom:1px solid #999999;'>Column01</td>
<td width='150' bgcolor='#cccccc' style='border-bottom:1px solid #999999;'>Column02</td>
<td width='75' bgcolor='#cccccc' style='border-bottom:1px solid #999999;'>Column03</td>
</tr>";
From these lines, it means that the column headers would then print at every page from then on and then show the results.
Have u tested it with a browser?
How does it look? Hopefully it works.
Btw, its not in the code that u pasted but I just wanted to remind u to set a variable to $countNosearchedRecord and $perpage at the beginning to prevent errors.
And also for $POST['pageno'] i think its better if u passed it thru the URL like www.mysite.com/results.php?page=1 because from my understanding $POST['pageno'] will be null when u reload the page. U'd have to set a default value for $pageno as well in the if statement. Maybe just add a
else {
$pageno = 1;
}
after the if statement to prevent $pageno from being NULL.
Also include a next/previous/page numbers at the bottom I think thats quite important so that u can actually view the rest of the results. From there u can pass the page numbers in the URL like the above example.
Thats all I can see from this segment of the code.
Hope it helps 😃