Hi,
I can't get this right, would appreciate help. Thank You.
<form action="page3.cfm" method="post">
<input name="hidden#num#" type="hidden" value="#num#">
</form>
I'm trying to get an image name that matches the value of the form, here's
what I have but it's not working.
<cfquery name="getBigPic" datasource="shalmy2">
SELECT num,
'imageName',
folderNum
FROM imageNames
WHERE num = #FORM["hidden" & num]#
</cfquery>
Thanks again,
Greg Smith
NateNielsen - 27 Oct 2004 03:39 GMT
hows this work :
<cfquery name="getBigPic" datasource="shalmy2">
SELECT num,
'imageName',
folderNum
FROM imageNames
WHERE num = #evaluate("FORM.hidden#num#")#
</cfquery>
Nate Nielsen
http://www.webclarity.com