title: php table data into an array then post and update database
body: <p>I have created a php table like so:</p>
  
  <pre><code>echo "&lt;table border = '0' cellpadding ='10'&gt;";
  echo "&lt;tr&gt;
      &lt;td&gt; Question &lt;td&gt;Mark&lt;/td&gt;&lt;td&gt;Criteria&lt;/td&gt;
      &lt;td&gt;Feedback&lt;/td&gt;
      &lt;/tr&gt;";
  while ($row = mysql_fetch_array($result))
  {   
      $question[]=$rows['question']; 
      echo "&lt;tr&gt;";
      echo "&lt;td&gt;". $row['question']. "&lt;/td&gt;";
      echo "&lt;td&gt;" ."&lt;input type = 'text' name = 'mark[]' size = '1' value = '0' id = 'mark'/&gt;/". $row['maxMark'] . "&lt;/td&gt;";
      $maxMark[] = $row['maxMark'];
      echo "&lt;td&gt;".$row['criteria']."&lt;/td&gt;";
      echo "&lt;td&gt;" . "&lt;input name = 'feedback".$counter."' id= 'feedback' value='Enter feedback'&gt;". "&lt;/td&gt;";
      echo "&lt;/tr&gt;";
      $counter++;
  }
  
  echo "&lt;/table&gt;";
  echo "&lt;/tr&gt;\n";
  echo "&lt;/table&gt;";
  </code></pre>
  
  <p>I want to get the all the data i input from mark and put it into an array and then post it to another page and update my database.
  The only thing i am having trouble with is getting the values i input and putting them all in an array</p>
  
  <p>any help would be appreciated
  :)</p>