troubleshooting Question

how to parse the query string in asp

Avatar of dpicco
dpiccoFlag for United States of America asked on
Web DevelopmentASP
4 Comments1 Solution227 ViewsLast Modified:
Hello experts,

I have an asp page like this:

response.write "<form method=post name=add_image action=image_app.asp onsubmit='return error_check()'>"
response.write "<td>Admin</td>"
response.write "<td><input type=text name=file_name size=40></td>"
response.write "<td><input type=text name=sort_order size=3></td>"
response.write "<td><input type=text name=title size=15 maxlength=50></td>"
response.write "<td><input type=text name=comments size=50 maxlength=100></td>"
response.write "</tr></table><p>"
response.write "<input type=hidden name=dept value=Admin>"
response.write "<input type=hidden name=add_record value=yes>"
response.write "<input type=hidden name=update value=no>"
response.write "<input type=hidden name=delete value=no>"
response.write "<input type=submit name=insert value=Submit></form>"%>
How can I parse the query string and put the name variable in the file_name?

My query string looks like this:
Wayne Barron
Author, Web Developer
Join our community to see this answer!
Unlock 1 Answer and 4 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros