how can i insert multiple marks for multiple students mysql
<p>I have a dynamic table(that prints names of some students from a specific group in DB ) and for each  student  i have a checkbox where i have to choose the mark.I need help about how can i insert multiple marks for multiple students in mysql????</p>

<p>The table on the database where i have to do the insertof marks is sth like this:
<strong>id name  mark</strong></p>

<p>and the code of html and php </p>

<pre><code>&lt;form&gt;
&lt;table &gt;
&lt;thead &gt;
    &lt;tr&gt;
      &lt;th&gt;Nr&lt;/th&gt;
      &lt;th&gt;Name_Surname&lt;/th&gt;
      &lt;th&gt;Mark&lt;/th&gt;
    &lt;/tr&gt;
&lt;/thead&gt;

 &lt;tbody&gt;
&lt;?php
 $query = "select student.name from student where student.group = '2' " ;   
      $run=mysql_query($query);
      $d=1;
      while ($row=mysql_fetch_assoc($run))
{
?&gt;
&lt;tr&gt;
&lt;th &gt;&lt;?php echo $d++; ?&gt;
&lt;/th&gt;
&lt;td&gt;
&lt;input type="text" name= "name" value = '&lt;?php echo $row["name"];?&gt; '&gt;
 &lt;/td&gt;
 &lt;td&gt;
 &lt;fieldset &gt;
 &lt;label for="mark"&gt;&lt;/label&gt;
    &lt;select name="mark" &gt;
    &lt;option&gt;-&lt;/option&gt;
    &lt;option&gt;4&lt;/option&gt;
    &lt;option&gt;5&lt;/option&gt;
    &lt;option&gt;6&lt;/option&gt;
    &lt;option&gt;7&lt;/option&gt;
    &lt;option&gt;8&lt;/option&gt;
    &lt;option&gt;9&lt;/option&gt;
    &lt;option&gt;10&lt;/option&gt;
    &lt;/select&gt;
&lt;/fieldset&gt;
&lt;/td&gt; 
&lt;/tr&gt;
&lt;?php } ?&gt; 
&lt;/tbody&gt;
&lt;/table&gt;
&lt;button type="submit" name="save" &gt;Printo&lt;/button&gt;
&lt;/form&gt;
</code></pre>