Results 1 to 3 of 3

Thread: question using php to search mysql

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

    Default question using php to search mysql

    i have been tryin to figure this out for a few days now. what im tryin to do is make a search much like this page http://ds.rom-news.org/. the issue im having is i cant seem to figure out how to make it display the number of pages. say i have 300 results only 30 per page. much like that site above has. i have looked all over i just cant seem to find anything remotely like that i can use as a example. if anyone has any ideas where i can get a example on how its done please post

  2. #2
    Join Date
    Sep 2008
    Location
    Bristol - UK
    Posts
    842
    Thanks
    32
    Thanked 132 Times in 131 Posts

    Default

    This is called "pagination" and there are quite a few tutorials / scripts that do this.

    Here's one to start you off:

    http://www.phpeasystep.com/phptu/29.html

  3. #3
    Join Date
    Apr 2009
    Location
    India
    Posts
    41
    Thanks
    0
    Thanked 4 Times in 4 Posts

    Default

    try this

    codediesel.com/php/simple-pagination-in-php/

Tags for this Thread

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
  •