 <p>You're missing quotes around your <code>&lt;cfinput&gt;</code> tag. You need to use a single quote here to concatenate properly.</p> <pre><code>&lt;cfscript&gt; for ( i=1; i &lt;= myQuery.recordCount; i++ ) { writeoutput ("&lt;tr " &amp; a &amp; "&gt;&lt;td&gt;" &amp; i &amp; "&lt;/td&gt;" &amp; "&lt;td&gt;" &amp; myQuery.UserID[i] &amp; "&lt;/td&gt;" &amp; "&lt;td&gt;" &amp; myQuery.FName[i] &amp; "&lt;/td&gt;" &amp; "&lt;td&gt;" &amp; myQuery.SName[i] &amp; "&lt;/td&gt;" &amp; "&lt;td&gt;" &amp; myQuery.Phone[i] &amp; "&lt;/td&gt;" &amp; "&lt;td&gt;" &amp; myQuery.DateJoined[i] &amp; "&lt;/td&gt;" &amp; "&lt;td&gt;" &amp; myQuery.Address[i] &amp; "&lt;/td&gt;" &amp; "&lt;td&gt;" &amp; '&lt;input type="checkbox" name="post_home"&gt;' &amp; "&lt;/td&gt;&lt;/tr&gt;"); } &lt;/cfscript&gt; </code></pre> <p>Alternatively you could put your last line all in single quotes.</p> <pre><code>'&lt;td&gt;&lt;input type="checkbox" name="post_home"&gt;&lt;/td&gt;&lt;/tr&gt;'); </code></pre>