Jump to content

Database results page too long, how can I make it into seperate pages?


jdock1

Recommended Posts

Im running a petition type site, where Im displaying the "signatures" from the database on a page on the site using mysql_fetch_array() in a while loop.

 

Well Im getting alot of entries into the database, and the page is too long & it takes too long for the page to load..

 

how can I make it into seperate pages?

 

Heres the code im using to display the database rows..

 

while ($row = mysqli_fetch_array($result)){
echo '<b>First name:</b> ' . $row['first'] . '<br><b>Last name:</b>' . ' ' . $row['last'] . '<br><b>Comment:</b>' . ' ' . $row['comment'] . ' ' . '<hr>';
}
?>

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.