SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Addict
    Join Date
    Aug 2009
    Posts
    200
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    PHP search string, next page not working

    Hi, I have setup a simple website search.

    Lets say I have a website with over 30 pages, and 30 of those pages use the words 'web design' - when I search this it shows the 15 results on first page I want, and then there is a next button to view the next 15 results.

    The problem I am getting is the next 15 results are not showing, it just returns the search page blank - and also when I click the back link the first set of results disapear.

    If anyone could help that would be really great - I can either send you code or show you on my website.

    Many thanks,

    Paul

  2. #2
    SitePoint Guru
    Join Date
    Jan 2005
    Location
    heaven
    Posts
    953
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code plz :3
    Creativity knows no other restraint than the
    confines of a small mind.
    - Me
    Geekly Humor
    Oh baby! Check out the design patterns on that framework!

  3. #3
    SitePoint Addict
    Join Date
    Aug 2009
    Posts
    200
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,

    Here is a link to the code - seems a bit to big to place on here.

    http://www.lostmisfitdesign.com/search/search.txt

    http://www.lostmisfitdesign.com/sear...h_template.txt - This is the template.tpl.php file it links to - not sure if this may have the problem in either?

    Cheers,

    P

  4. #4
    SitePoint Guru
    Join Date
    Jan 2005
    Location
    heaven
    Posts
    953
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    O.o...<--- initial shock factor...

    can you post the definition of multipage()?
    Creativity knows no other restraint than the
    confines of a small mind.
    - Me
    Geekly Humor
    Oh baby! Check out the design patterns on that framework!

  5. #5
    SitePoint Addict
    Join Date
    Aug 2009
    Posts
    200
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok, I am a wee bit confused to what you mean? Sorry - what info are you after?

  6. #6
    SitePoint Addict
    Join Date
    Aug 2009
    Posts
    200
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ah, I have now found what you mean.. sorry I am a tool. Here is the function...

    http://www.lostmisfitdesign.com/search/multipage.txt

    Hope this is of use.

    Cheers,

    P


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
  •