Help - Search - Members - Calendar
Full Version: [PHP] Passing variables through url with a form
HTMLHelp Forums > Programming > Server-side Scripting
Pieman
I'm making a search function for my blog and I want the variables of the form to be put in the url when submitted. So if for example someone searches for '123' I want the url to be search.php?search=123

Any suggestions?
pandy
So you want to use GET rather than POST.
http://htmlhelp.com/reference/html40/forms/form.html
Pieman
Heh, didn't think it'd be that simple. tongue.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.