Macromedia dreamweaver 8-using dreamweaver User Manual
Defining URL parameters
695
3.
Place the insertion point after
WHERE emplJob
in the SQL text area and type
='varJob'
(include the equal sign).
4.
Define the variable
'varJob'
by clicking the Plus (+) button in the Variables area and
entering the following values in the Name, Default Value, and Run-Time Value columns:
varJob
,
CLERK
,
Request("job")
.
5.
Click OK to add the recordset to the Bindings panel.
Defining URL parameters
URL parameters store retrieved information input by users. Before you begin, make sure you
pass a form or URL parameter to the server. For more information, see
pass a form or URL parameter to the server. For more information, see
To define a URL parameter:
1.
In the Document window, open the page that will use the variable.
2.
Select Windows > Bindings to display the Bindings panel.
3.
In the Bindings panel click the Plus (+) button and select one of the following from the
pop-up menu:
pop-up menu:
The URL Variable dialog box is displayed.
4.
Enter the name of the URL variable in the text box and click OK.
The URL variable name is normally the name of the HTML form field or object used to
obtain its value.
obtain its value.
Document
Types
Types
Menu item in Bindings panel for URL variable
ASP
Request Variable > Request.QueryString
ColdFusion
URL Variable
JSP
Request Variable
PHP
URL Variable