PHP list and checkboxes
<p>I want to make a list with checkboxes next each item. For some reason I can print the list but the checkboxes aren't showing up.</p>

<pre><code>$note = mysql_fetch_array( $note_content );

if($note['type'] == 'list')
{
    $note_type='list';      

    print "&lt;dl&gt;";   
    while($note = mysql_fetch_array( $note_content ))
    {
        if($note['complete'])
            echo "&lt;strike&gt;";
        echo "&lt;dt&gt;".$note['body']."&lt;/dt&gt;";
        if($note['complete'])
            echo "&lt;/strike&gt;";
    }
    print "&lt;/dl&gt;";

    print "&lt;dl style=\"float:right\"&gt;"; 
    while($note = mysql_fetch_array( $note_content ))
    {
        echo "&lt;dt&gt;
        &lt;input type='checkbox' name='complete_goal' value='".$note['note_id']."'&gt;
        &lt;/input&gt;
        &lt;/dt&gt;";
    }
    print "&lt;/dl&gt;";
}
else
{
    echo $note['body'];
}
</code></pre>
