Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Apr 2005
    Posts
    388
    Thanks
    0
    Thanked 0 Times in 0 Posts

    passing submit variable to next page

    is there a way to pass a $_POST['submit'] on to the next page possibly through get?
    what I am doing is I have a search page, that the user enters what they are looking for into a form using POST, instead of displaying 400 items on one page, I want to break it into a max of 10 or 20 items per page.
    What is happening is that when they hit the next button they have to hit submit again. Anybody got any ideas?

    tia.

  • #2
    Senior Coder
    Join Date
    Nov 2002
    Location
    North-East, UK
    Posts
    1,265
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You cannot grap a $_POST variable using $_GET.

    You want to look into pagination so you can split you query into chunks and so can create page links

    http://www.google.co.uk/search?hl=en...gination&meta=


  •  

    Posting Permissions

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