Re: Pagination problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
-----------------------------------------------------------

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux