Pagination in PHP

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
mariolopes
Forum Contributor
Posts: 102
Joined: Sun May 22, 2005 7:08 am

Pagination in PHP

Post by mariolopes »

Hi
I need to print one table with pagination. How can I achieve pagination? Any ideas?
Here is my code
<?php
while($row=mysql_fetch_array($result)){
?>
<tr>
<td><?php print $row['Nome'];?></td>
<td><?php print $row['Idade'];?></td>
</tr>
<?php
}
?>
Thank you
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Re: Pagination in PHP

Post by pickle »

Do a search - both of the forums and of Google.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
User avatar
JNettles
Forum Contributor
Posts: 228
Joined: Mon Oct 05, 2009 4:09 pm

Re: Pagination in PHP

Post by JNettles »

Especially since the exact same question is still on the front page of this forum.
Post Reply