Results 1 to 3 of 3

Thread: how to restrict the records in PHP..??

  1. #1
    Join Date
    Apr 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question how to restrict the records in PHP..??

    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..

  2. #2
    Join Date
    May 2007
    Location
    England, UK
    Posts
    235
    Thanks
    3
    Thanked 6 Times in 6 Posts

    Default

    Its paging your looking for, done with PHP.

    Use this tutorial:
    http://www.php-mysql-tutorial.com/php-mysql-paging.php

  3. #3
    Join Date
    Apr 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thumbs up Thank you..

    Thank you..

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •