I've got this really small table I need to run showing some data about registered users(Name, Username).
$query = mysql_query("SELECT * FROM users ORDER BY Username ASC") or die(mysql_error());
while($user = mysql_fetch_assoc($query))
{
echo '<tr><td>' . $user['Username'] . '</td>';
echo '<td>' . $user['FullName'] . '</td>';
echo "<td><a href=\"deleteUser.php?id=" . $user['ID'] . "\">Delete</a><br /><a href=\"editUser.php?id=". $user['ID'] . "\">Edit</a></td></tr>";
}
Anyway, let's say I'll have 50+ users, the all page will be flooded with users.
So I thought of a solution, for every 15 rows pulled up from the database they will have their own "page" (using $_GET). A friend of mine told me it is something called paging or pagination I don't really remember. I did find some solutions online but none helped me, some looked so long and I just looked out for another tutorial.
Is there an efficient way of doing this without getting into so much stuff around it?
pagination.