Your close, you don't want to close the new row inside your If statement.  And you will need a closing tag at the end.


<tr>

<cfoutput query="qSubCat1" group="Style">

                        <td>

                            <img src="" border="0">

                        </td>

                        <cfif  CurrentRow Mod 2 IS 1>

                               </tr>

                               <tr>

                      </cfif>

</cfoutput>
</tr>


You can also simplify your if statement if you like [cfif CurrentRow Mod 2].  A non zero value of an _expression_ always equates to true, and conversely a zero value is false.
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to