Question
CFIF Tag
Dear All,
Hope someone can help me. Here's the deal. When I use the following code, I get nothing on my page:
<cfquery USERNAME="tsglawcom" PASSWORD="eTWUMCc4" DATASOURCE="tsg" name="jobs">
SELECT * FROM Jobs </CFQUERY>
<CFOUTPUT QUERY="jobs">
<CFIF Status ='A'><UL><LI>'#Title#'</LI></UL>
<CFELSE></CFIF> </cfoutput>
If I lose the CFIF/CFELSE tags all of my employment entries display, using a simple CFOUTPUT QUERY COMMAND, However. as soon as I put in the code above in place, I error out with:
Invalid CFML construct found on line 46 at column 14.
ColdFusion was looking at the following text:
=
The CFML compiler was processing:
* A CFIF tag beginning on line 46, column 2.
Hope someone can help me. Here's the deal. When I use the following code, I get nothing on my page:
<cfquery USERNAME="tsglawcom" PASSWORD="eTWUMCc4" DATASOURCE="tsg" name="jobs">
SELECT * FROM Jobs </CFQUERY>
<CFOUTPUT QUERY="jobs">
<CFIF Status ='A'><UL><LI>'#Title#'</LI></UL>
<CFELSE></CFIF> </cfoutput>
If I lose the CFIF/CFELSE tags all of my employment entries display, using a simple CFOUTPUT QUERY COMMAND, However. as soon as I put in the code above in place, I error out with:
Invalid CFML construct found on line 46 at column 14.
ColdFusion was looking at the following text:
=
The CFML compiler was processing:
* A CFIF tag beginning on line 46, column 2.
