Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Query String

Status
Not open for further replies.

XYZdragon

Technical User
Dec 14, 2004
16
US
Hi, I am just trying to create a page which will contain a form. The form will have two fields and this two fields will be added to the end of a .asp?p=field1&i=field2 - When the user hit submit the script will take them to the page that contain the fieldS that they just type. I am very new to scripting and I heard that this can be done with Query String.

Thanks in advance for any help,

XYZ
 
when the user clicks the submit button, you can carry on the form variables to the action page either using the POST method or the GET method.

If you are using the POST method on your form then just say
request.form("myvariable") on the action page...

If you are using the GET method on your form then just say
request.querystring("myvariable") on the action page...

-DNG
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top