View Full Version : passing submit variable to next page

01-12-2006, 04:59 PM
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?


01-13-2006, 03:05 PM
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