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>';
}
?>

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.