Does anybody have a easy to install Pagination? I need it for my members system, I have like one LONG page filled with 300 members.
It doesn't need to have the << Prev and Next >>, just page numbers will do.
If possible, you can just code it into this:
There is more of the code, but it's not needed. I've tried like 5 paginations, and I cannot get it!
Many thanks to whoever does this!
EDIT: Re-looked the code, the pagination would have echoed itself for each user.
It doesn't need to have the << Prev and Next >>, just page numbers will do.
If possible, you can just code it into this:
| Code: |
| default:
echo "<table width='80%' align='center' border='0' cellspacing='2' cellpadding='2'> <tr> <td width='40%'> <font size='1'><b>Username</b></td> <td width='40%'><font size='1'><b>Private Message</b></td> </tr> </table>"; $getusers = mysql_query("SELECT * FROM `members`") or die(mysql_error()); while ($users = mysql_fetch_array($getusers)) { echo " <table width='80%' align='center' border='0' cellspacing='2' cellpadding='2'> <tr> <td width='40%'><li><font size='1'><a href='?page=view&username=$users[username]'><font size='1'>$users[username]</a></td> <td width='40%'><a href='pms.php?page=compose&user=$users[username]'><font size='1'>Private Message</a></li></td> </tr> <tr> </tr> </table>"; } echo '*************************** ////////// PUT PAGINATION HERE \\\\\\\\\\ ***************************'; break; |
There is more of the code, but it's not needed. I've tried like 5 paginations, and I cannot get it!
Many thanks to whoever does this!
EDIT: Re-looked the code, the pagination would have echoed itself for each user.
