invalid nesting. it's the equivalent of writing:
if blah
for 1 to 5
else
for 5 to 1
end-if
end-for
| "Ian Westbrook \(FDM\)" <[EMAIL PROTECTED]>
20/04/2004 14:12
|
To: "CFUG List" <[EMAIL PROTECTED]> cc: Subject: [ cf-dev ] why the hell doesn't this work? |
anyone any idea why this doesn't work?
<cfif IsDefined("form.search")>
<cfoutput query="allbooks">
<cfelse>
<cfoutput query="allbooks" STARTROW="#the_start#" MAXROWS="#records_to_display#">
</cfif>
I keep getting the 'extraneous </cfoutput> tag' error from the output's close. All I'm doing is choosing one of the output tags depending on whether a form variable exists or not. If I use either of the output tags straight off, it works fine.
any ideas?
Ian W
