PDA

View Full Version : user input into a querysting?


bobo
07-07-2003, 06:55 AM
I need to put a user input into a querystring then pass it to another page, instead of doing it via form data. Can someone help?

bobo
07-07-2003, 05:02 PM
Response.Write("<input type='text' name='stringsearch' SIZE='30'>")
Response.Write("<A href='searchdb3.asp?string=derbyshire'>derbyshire</A>")

It will pass a variable, but I can't get it to pass the user input from the text box. How do I get it to pass stringsearch, I dunno how to do that...please, please!?

bobo
07-08-2003, 03:07 PM
I was thinking about how to do it from completely the wrong angle, I sorted it by using a FORM, but used GET instead of POST. Using GET sent the info via the URL bars like I wanted..

..just incase anyone want to do the same thing.