felix00
asked on
Coldfusion Dynamic Variables
<cfparam name="evaluate('m'&url.mid &'.'&url.b et)" default="0">
^the above doesn't work. pls tell me what does. thanks.
^the above doesn't work. pls tell me what does. thanks.
ASKER
My URL variable is:
publicpick_action.cfm?mid= 43&bet=Tea m_A
publicpick_action.cfm?mid=
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
<cfif not isDefined('m'&url.mid&'.'& url.bet)>
<cfset evaluate('m'&url.mid&'.'&u rl.bet &'=0')>
</cfif>
<cfset evaluate('m'&url.mid&'.'&u
</cfif>
ASKER
"#evaluate('m'&url.mid&'.'
Error near line 3, column 17.
--------------------------
An error has occurred while processing the expression:
m43.Team_A
Error near line 1, column 1.
--------------------------
Error resolving parameter M43.TEAM_A