Skip to main content
Participant
December 1, 2008
Question

Crazy Error N CF Documentation

  • December 1, 2008
  • 1 reply
  • 247 views
I am just learning CF8. The code below is copied from CF's developer's guide (.pdf), AND ITS DRIVING ME CRAZY!


<cfif info.FOUND LTE 5 AND isDefined("info.SuggestedQuery”)>
Did you mean:
<a href="search,cfm?query=#info.SuggestedQuery#>#info.SuggestedQuery#</a>
</cfif>
<cfoutput query="codecoll_results">
<p>


Notice how the quotation marks after href is not closed; when i do close it i generates crazy errors.

Please can anybody help out.

Thanks!


This topic has been closed for replies.

1 reply

Inspiring
December 2, 2008
yeah, i hear you. how many typos can one make in 2 lines of code???

here's what it should look like:

<cfif info.FOUND LTE 5 AND isDefined("info.SuggestedQuery")>
Did you mean: <a
href="search.cfm?query=#info.SuggestedQuery#">#info.SuggestedQuery#</a>
</cfif>

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/