Jump to content

paged list


nadeemshafi9

Recommended Posts

hello guys

 

i am showing a list of items using the sql "select * from tablname" and loop out the results, i cant seem to get my head around how to page the list, i am used to php so dont be afraid to go technical and in depth.

 

what i whant is my list of items to be shown as a list but devided in to pages, i tried putting it in an array and then getting the size and then deviding it and determinig all the metrics and outputing a list of numbers for pages based on the divisions of the array size and getting where the user wants to be in the list throgh input throgh the URL GETsaying where to start on the array and stuff based on what page was clicked.

 

thanks for any comments 

Link to comment
https://forums.phpfreaks.com/topic/42249-paged-list/
Share on other sites

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.