Hi,

I've got the following cfquery statement:

<cfset EditMode=IsDefined("url.id")>
<!--- If Url.id is defined --->
<cfif EditMode>
<cfquery datasource="#mydbname#" name="edit">
SELECT *
FROM error_table
WHERE error_id = #url.id#
</cfquery>

in the error_table table there is a primary key called error_id, but the
system says that error_id is undefined. I did a cfdump on #error_id# and it
says the same thing. I did a cfdump on all variables (<cfdump
var="#Variables#"and the error_id shows up on my query. I can't get the code
to proceed any further without getting the error_id undefined error so I
cant use dump any further. Any suggestions? Oh, and <cfif EditMode> is true
btw.

Thanks

Phil
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to