I guess its the
tokeniser barfing on the 2 <cfoutout> and only one </cfoutput>. It
wouldn't care about the logic...
I'd write it this
way...
<cfif
NOT IsDefined("form.search")>
<cfset records_to_display =
allbooks.recordcount />
<cfset
the_start =
1>
</cfif>
<cfoutput query="allbooks" STARTROW="#the_start#" MAXROWS="#records_to_display#"> Justin
|
- [ cf-dev ] why the hell doesn't this work? Ian Westbrook \(FDM\)
- RE: [ cf-dev ] why the hell doesn't this work? Damian Watson
- RE: [ cf-dev ] why the hell doesn't this wo... Adrian Lynch
- Re: [ cf-dev ] why the hell doesn't thi... Ian Westbrook \(FDM\)
- Re: [ cf-dev ] why the hell doesn't this work? Justin MacCarthy
- Re: [ cf-dev ] why the hell doesn't this work? duncan . cumming