+ Post New Thread
Results 1 to 4 of 4
Web Development Thread, Paging using PHP in Coding and Web Development; Hi Im writing a PHP script which pull data from a MySQL database, and i wanted to page the results.... ...
  1. #1

    Join Date
    May 2006
    Location
    Leicestershire
    Posts
    345
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0

    Paging using PHP

    Hi

    Im writing a PHP script which pull data from a MySQL database, and i wanted to page the results....

    Does anyone know any good examples on the net, or if anyone can upload a script for me to look at.... i would be very greatful....

    Thanks

  2. #2

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,374
    Thank Post
    625
    Thanked 951 Times in 653 Posts
    Blog Entries
    2
    Rep Power
    318

    Re: Paging using PHP

    Have a look for a PHP "pagination" class on www.phpclasses.org

  3. #3

    Join Date
    May 2006
    Location
    Leicestershire
    Posts
    345
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0

    Re: Paging using PHP

    thanks, i will check it out now!

  4. #4

    Join Date
    May 2006
    Posts
    66
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Paging using PHP

    when doing the query, add "LIMIT 0,20" to it, the 0 is the start, and the 20 is the number to get, have the script change the first number accordingly, simple

SHARE:
+ Post New Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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