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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Request.Form string

Status
Not open for further replies.

ojf

Instructor
Sep 27, 2000
49
NO

The expression a=Request.Form may give this value of variable a:

ID=9999&Name=John+Brown&CopyTo=Peter+Lind%F8y&Date=12%2F8%2F2001+12%3A46%3A37+AM

I want to put this string into a database for later use.

Does anyone have a funtion that will split the string into fields and values? And/or a method to put the whole string back to the form?
OJF
 
Yeah all you need to do is request the individual things in the request :

Code:
idvalue = Request("id")
namevalue = Request("name")
copytovalue= Request("copyto")
datevalue = Request("date")
Regards

Big Dave

davidbyng@hotmail.com

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top