PHP - Adding code to a output string
<p>I have a bit of an easy question which i cant seem to figure out.</p>

<p>I have the following line</p>

<pre><code>$output .= '    &lt;input name="_'.$row-&gt;key.'" style="height: 10px; margin: 0;" type="checkbox" id="'.$row-&gt;key.'" /&gt;&amp;nbsp;&amp;nbsp;&lt;span style="font-size: 9px; text-transform: lowercase;"&gt;'.$row-&gt;name.'&lt;/span&gt;';
</code></pre>

<p>and i need to add the following to it, but they are different format</p>

<pre><code>trim(set_radio("allwork", "1")) == 'checked="checked"' ? true : false
</code></pre>

<p>If i do '. and .' before and after the trim section and insert it, it throws errors</p>

<p>Cheers,</p>
