Web Hosting Talk







View Full Version : Sorting database data into 5 rows per page


Jeff - Exceed
05-17-2007, 01:49 AM
Greetings,

I am a PHP n00b and am trying to do the following. Basically my script will select everything from a certain table in my database, however after it does this I want it to print 5 rows per page and automatically paginate the data. Does anyone know some good direct documentation for this, or how I'd go about doing this?

Cheers :)

chrisranjana
05-17-2007, 02:36 AM
Well then you could try using any one of the php frameworks (http://www.mustap.com/phpzone_post_73_top-10-php-mvc-frameworks)

ak7861
05-17-2007, 02:39 AM
http://www.phpfreaks.com/tutorials/43/0.php