MrVon Posted February 17, 2011 Share Posted February 17, 2011 I have created script that puts user information in MySQL database table called "Users" when they register. Now i want to create page to show all the accounts in that table and some custom fields they filled in as well. Like Name, Age, Sex. My table is 1Name 2Age 3Sex 4Email John 22 M [email protected] Kate 34 F [email protected] etc... I trying to show all users at once, so far i pulled info one by one successefully, and also queried that entire table trough array, but its creates huge list on one page i dont like this, i need to separate it to 10 accounts per page. How can i do that? I also like page 1, page2, page3 be linkable from homepage is there way to make them have static page like http://site.com/users.php?pages=2. Please advise. Link to comment https://forums.phpfreaks.com/topic/227937-output-dynamic-db-records-into-several-pages/ Share on other sites More sharing options...
Pikachu2000 Posted February 17, 2011 Share Posted February 17, 2011 What you need is called pagination. There's a tutorial on the main part of the site that's pretty decent. Link to comment https://forums.phpfreaks.com/topic/227937-output-dynamic-db-records-into-several-pages/#findComment-1175391 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.