Click to See Complete Forum and Search --> : how to restrict the records in PHP..??


RRVARMA
04-11-2008, 04:01 AM
I have about 5000 records to display. As it is taking a long time to display.. i like to display first 25 or 50 records first and then on clicking next it should show the next 50 records.. and if the user clicks previous they should get the previous 50 records.. but how to implement this in PHP..?? plz help..
Can this be implemented using JavaScript..?? which one is easy for the above problem..?? PHP or JavaScript..?? Please Help.. :confused:

stephan.gerlach
04-11-2008, 04:10 AM
http://php.about.com/od/phpwithmysql/ss/php_pagination.htm

http://www.sitepoint.com/article/perfect-php-pagination

RRVARMA
04-11-2008, 04:58 AM
Thank you.. :)