...

View Full Version : passing submit variable to next page



davehaz
01-12-2006, 03: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?

tia.

degsy
01-13-2006, 02: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

http://www.google.co.uk/search?hl=en&q=php+pagination&meta=



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum