Help
-
Search
-
Members
-
Calendar
Full Version:
[PHP] Passing variables through url with a form
HTMLHelp Forums
>
Programming
>
Server-side Scripting
Pieman
Mar 5 2008, 04:03 PM
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
Mar 5 2008, 04:59 PM
So you want to use GET rather than POST.
http://htmlhelp.com/reference/html40/forms/form.html
Pieman
Mar 6 2008, 09:59 AM
Heh, didn't think it'd be that simple.
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.