Improvised Search Function Help


#1

Ok i have this site where i want users to be able to search by email for a client. I know site.com/script.php?EMAIL=me@site.com will bring up my profile but to make it user friendly i want a form. How do i get PHP, or javascript IDN, to take the email and ad it to the url of site.com/script.php?EMAIL=[EMAIL GOES HERE] ?


#2

If you use HTML forms you can send a user’s input to the next page. If you fetch the values from the form with $_POST you can process them further on that page.


#3

well that isnt really what i want. I only want the email address typed into the text box to be added to the end of the URL string. I dont need that stored as a varible after that.


#4

Why is it so important to use it as a GET variable instead of a POST variable? Isn’t it the point to get the variable across?


#5

well i figured it out but i had to use javascript which added an extra step i would like not to have but it is solved now.
Thanks though


#6

Well, what’s the solution, just in case anyone else comes by with a similar problem?