gregoryrsmith
asked on
help <a href="scenes25.cfm?folderNum=#FORM.number#"> work
Hi,
I'm trying to pass a form variable via the URL and retrieve with this query
<cfquery name="getFolderNumber" datasource="xxx">
SELECT folderNum
FROM imageNames
WHERE folderNum = #URL.folderNum#
</cfquery>
I'm trying to pass a form variable via the URL and retrieve with this query
<cfquery name="getFolderNumber" datasource="xxx">
SELECT folderNum
FROM imageNames
WHERE folderNum = #URL.folderNum#
</cfquery>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
just a question why are u sending a form variable in the url, if u submit the form u will always get it in the processing page
kindly be more elaborate on your problem
Regards
Hart
kindly be more elaborate on your problem
Regards
Hart
You could also change the form to get instead of post and it will automatically go in the URL.
<cfquery name="getFolderNumber" datasource="xxx">
SELECT folderNum
FROM imageNames
WHERE folderNum = '#URL.folderNum#'
</cfquery>
But it would help to see some error message to solve your problems...