Question
can you not set a variable that's in the same scope as a query structure
ok so i got a query
<cfquery datasource="mydb" name="note_this_name" >
select columnone, columntwo
from tbl_mytable
</cfquery>
i then do this
<cfset note_this_name.not_a_column_name = "i_will_never_be_able_to_use_this_variable" >
then i do this
<cfoutput>#note_this_name.not_a_column_name#</cfoutput>
and i get this error " Element not_a_column_name is undefined in note_this_name"
How on earth can this be? am i going mad?
<cfquery datasource="mydb" name="note_this_name" >
select columnone, columntwo
from tbl_mytable
</cfquery>
i then do this
<cfset note_this_name.not_a_column_name = "i_will_never_be_able_to_use_this_variable" >
then i do this
<cfoutput>#note_this_name.not_a_column_name#</cfoutput>
and i get this error " Element not_a_column_name is undefined in note_this_name"
How on earth can this be? am i going mad?
