Jump to content

Displaying next 5 results from databse


ReeceSayer

Recommended Posts

Sorry not sure if this is the right place to post this.

 

What i want to do is display 5 rows of my database then click next and display the next 5 and so on. The way i was trying to go about it was using a switch case to increase the number of rows displayed. I am open to suggestions on other methods of doing this or i can post my code, but i have run into problems and i can see its not going to be easy the way i've attempted it.

 

Thanks alot, Reece

Link to comment
https://forums.phpfreaks.com/topic/195629-displaying-next-5-results-from-databse/
Share on other sites

Here are a couple of nice tutorials. Be sure to read the improvements in the replies at the bottom.

 

http://www.php-mysql-tutorial.com/wikis/php-tutorial/paging-using-php.aspx

http://www.evolt.org/node/19340

 

Thanks alot, ive never done paging before, i wasn't even sure what it was called.

I'll have a read through :)

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.