OK - here's a hum-dinger for you...
How can I pass a variable from one page into another so that it alters part
of another variable?
e.g.
Page1.cfm
<a href="page2.cfm?var_add=1&var=cheese">page two is cheese</a>
<a href="page2.cfm?var_add=2&var=milk">page two is milk</a>
Page2.cfm
<cfset test_#var_add# eq #var#>
(this ^^^^^^^^^^^^^^ is what I need to have working)
<cfoutput>
<cfif #var_add# eq "1">
#test_1#
<cfelseif #var_add# eq "2">
#test_2#
</cfouput>
Note: var set "test_x" should then read either cheese or milk!
(this is for a much more complex bit of non-dairy based coding by the way)
James
"You're a big man, but you're out of shape. I do this for a living, so
behave"
"Get Carter" 1964
------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message
with 'unsubscribe' in the body to [EMAIL PROTECTED]