title: Form inside <tr> doesn't work
body: <p>I have a little problem here.. I have a form and I write it inside a table content, but it doesn't work.. so let me show you my code:</p>
  
  <pre><code>&lt;table&gt;
  &lt;form name='editpo' method=POST action='js_buat_po.php?act=caricustomer&amp;doit=update&amp;uid=$data[uid]'&gt;
  &lt;tr bgcolor=$warna&gt;
  &lt;td&gt;&lt;input type=hidden name='iddemand' value='$data[id_demand]'&gt;$data[barcode]&lt;/td&gt;&lt;td&gt;&lt;input type='text' name='nama' value='$data[nama_item]'&gt;&lt;/td&gt;
  &lt;td&gt;$data[id_pr]&lt;/td&gt;
  &lt;td align=right&gt;&lt;input type='text' name='jumlah' value='$data[jumlah]'&gt;&lt;/td&gt;
  &lt;td align=right&gt;&lt;input type='text' name='regane' id='regane' value='$data[hargabeli]'&gt;&lt;/td&gt;
  &lt;td align=right&gt;".number_format($total,0,',','.')."&lt;/td&gt;
  &lt;td align=right&gt; &lt;input type=submit value='UPDATE'&gt;&lt;/form&gt;&lt;a href='js_buat_po.php?act=caricustomer&amp;doit=hapus&amp;uid=$data[uid]'&gt;Hapus&lt;/a&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;/form&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>And when I try check the output from inspect element.. I got something like this:</p>
  
  <pre><code>&lt;tr bgcolor="#FFFFFF"&gt;
                      &lt;form name="editpo" method="POST" action="js_buat_po.php?act=caricustomer&amp;amp;doit=update&amp;amp;uid=7"&gt;&lt;/form&gt;
                      &lt;td&gt;
                          &lt;input type="hidden" name="iddemand" value="2"&gt;accesories204&lt;/td&gt;&lt;td&gt;&lt;input type="text" name="nama" value="  AC komplit Mitsubishi Pick Up C. T120 / 2012 merk sanden   "&gt;&lt;/td&gt;
                          &lt;td&gt;1&lt;/td&gt;
                          &lt;td align="right"&gt;&lt;input type="text" name="jumlah" value="1"&gt;&lt;/td&gt;
                          &lt;td align="right"&gt;&lt;input type="text" name="regane" id="regane" value="5000000"&gt;&lt;/td&gt;
              &lt;td align="right"&gt;5.000.000&lt;/td&gt;
              &lt;td align="right"&gt; &lt;input type="submit" value="UPDATE"&gt;&lt;a href="js_buat_po.php?act=caricustomer&amp;amp;doit=hapus&amp;amp;uid=7"&gt;Hapus&lt;/a&gt;&lt;/td&gt;
                          &lt;/tr&gt;
  </code></pre>
  
  <p>I don't know why my code become like this, any help please? </p>
  
  <p>====UPDATE============</p>
  
  <p>So how to do like this,
  I have 1 table and dynamic which the data per tr is different, so lets say I wont to use update button per tr.. and how to create an array id for my tr identifier?</p>
  
  <p>The format is like this..</p>
  
  <pre><code>&lt;form&gt;
  &lt;table&gt;
  &lt;tr id='1'&gt;&lt;td&gt;&lt;input type='text' name='tes' value='xxx'&gt;&lt;/td&gt;&lt;td&gt;&lt;input type='submit' value='update'&gt;&lt;/td&gt;&lt;/tr&gt;  &lt;--- Submit the data from tr1
  &lt;tr id='2'&gt;&lt;td&gt;&lt;input type='text' name='tes' value='xxx'&gt;&lt;/td&gt;&lt;td&gt;&lt;input type='submit' value='update'&gt;&lt;/td&gt;&lt;/tr&gt;  &lt;--- Submit the data from tr2
  &lt;/table&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>How to do that? Can anyone  help me?</p>