karma_machine Posted August 1, 2003 Share Posted August 1, 2003 i was wonder how i could show things in a table but only so many at a time i have <100 things in a database but i need to put them with no more than 40 on a page. could some one tell me how to do that, please. thanks Quote Link to comment https://forums.phpfreaks.com/topic/818-mysql-and-php-help/ Share on other sites More sharing options...
holiks Posted August 1, 2003 Share Posted August 1, 2003 It\'s called pagination. You want to paginate your results. There are quite a few tutorials out there and maybe this can help you get started.. http://www.phpfreaks.com/forums/viewtopic.php?t=5383 Quote Link to comment https://forums.phpfreaks.com/topic/818-mysql-and-php-help/#findComment-2709 Share on other sites More sharing options...
karma_machine Posted August 2, 2003 Author Share Posted August 2, 2003 when i use that i get the table rows then the table heading after that even thought i have the code in html for the table header way before the pagination code Quote Link to comment https://forums.phpfreaks.com/topic/818-mysql-and-php-help/#findComment-2712 Share on other sites More sharing options...
holiks Posted August 2, 2003 Share Posted August 2, 2003 my code was a basic (incomplete) example...the other replies in that thread gave better examples Quote Link to comment https://forums.phpfreaks.com/topic/818-mysql-and-php-help/#findComment-2721 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.