title: Form element closing too soon
body: <p>I have a PHP script which generates a table with each row (supposedly) as a form. The table is generating very nicely, but for some reason the form tag is closing immediately. I have no idea why and it's making my cranky. Any ideas?</p>
  
  <pre><code>echo '
   &lt;form method="post" action="#" id="status_row_'.$row["name"].'"&gt;
   &lt;tr class="even"&gt;
        &lt;input type="hidden" name="category" id="category" value="'.$category[0]['category'].'"&gt;
        &lt;input type="hidden" name="error_level" id="error_level" value="'.$row['level'].'"&gt;
        &lt;input type="hidden" name="service_name" id="service_name" value="'.$row['name'].'"&gt;
        &lt;td class="status-icons" name="error_circle"&gt;&lt;div class="'.$error_circle.'"&gt;&lt;/div&gt;&lt;/td&gt;
            //rows deleted here for clarity's sake
                                      &lt;/tr&gt;&lt;/form&gt;'
  </code></pre>
  
  <p>So the Inspect Element on the generated form shows: <code>&lt;form method="post" action="#" id="status_row_blahblah"&gt;&lt;/form&gt;</code> followed by all the rows.</p>