Re: Pagination problems
| From: | Pablo M. Rivas | Date: | Fri, 02 Sep 2005 19:53:00 +0000 |
| Subject: | Re: Pagination problems | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-40206@lists.php.net to get a copy of this message | ||
upsss.. y forgot $counter++
$counter=0;
while ($row=mssql_fetch_row($rs)) {
if (($counter>=$start) and ($counter<($start+ $Page_Size)) {
echo "<tr>";
//There you go: Show all fields, one to each cell
echo "<td>" . implode("</td><td>",$row) .
"</td>";
echo "</tr>\n";
}
$counter++;
}
--
Pablo M. Rivas. http://www.pmrivas.com http://www.r3soft.com.ar
-----------------------------------------------------------