Link to home
Create AccountLog in
Avatar of Darkejo1
Darkejo1

asked on

ASP & VBS - Using vbs variable in ASP code

I'll try and make this short and sweet..

Example code:

Code Start:

<%
name = Christopher
%>
.... more code
<Form name="input" action="approve.asp" method="get">
.... more code
:
Code End


What i'm wanting to do is, somehow, make the action something like:
<Form name="input" action="approve.asp?=name" & name method="get">

The link i click on should direct me to approve.asp?name=christopher

I know the rest of the code is not there,  I just simply need to know how to use a variable (using vbs code) in this format.
ASKER CERTIFIED SOLUTION
Avatar of Scott Fell
Scott Fell
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of Darkejo1
Darkejo1

ASKER

Thanks!!