There are two methods to send form results to another page:
http://www.halharris.com/282ExReceiveFormVariableUsingGet.asp?var=My+Name http://www.halharris.com/282ExReceiveFormVariableUsingGet.php?var=My+Name VariableName = request.querystring("NameOfVariable")
to obtain the value of the variable passed from the form on the previous page.
To display the value we could use response.write "Value was-->" & VariableName. $VariableName = $_GET["NameOfVariable"];
to obtain the value of the variable passed from the form on the previous page.
To display the value we could use echo "Value was-->" . $VariableName;. VariableName = request.form("NameOfVariable")
to obtain the value of the variable passed from the form on the previous page.
To display the value we could use response.write("Value was-->" & VariableName).You do not have to have it send the variable information to another page by
using action="SecondPage.asp" in the form tag. We can set
the action property to the name of the current page and have it post the results
to itself. Here is an example:
282ExGetAndPostInSamePage.asp.