aliashippysmom
Programmer
Hi! I've decided to ditch tables for layout and go exclusively to stylesheets. I am modifying a form I currently have on the site to use stylesheets instead of tables. I retrieve the values for the checkboxes from a database and then loop through and display them, like this:
Code:
<cfoutput query="myquery">
<cfif myquery.CurrentRow MOD 2 AND myquery.CurrentRow NEQ 1>
</tr>
<tr>
</cfif>
<td><input type="checkbox" name="element" value="#element_name#">#element_name#</td>
</cfoutput>