<cfif structKeyExists(URL, "results") and URL.results>
  Do This
<cfelse>
  Do Else
</cfif>

-----Original Message-----
From: Bushy [mailto:[EMAIL PROTECTED]
Sent: 27 November 2003 12:57
To: CF-Talk
Subject: re: Correct syntax

Hi,

I'm passing the following from one template to another...

<A HREF="" 1</A>
<br>
<A HREF="" 1</A>

Then I'm doing the following:

<CFIF IsDefined("results")>
  Do This
<CFELSE>
  Do Else
</CFIF>

How can I check if the results are "yes" or "no"?

<CFIF IsDefined("results") IS "yes"> ??????
</CFIF>


[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to