title: insert multiple rows into mysql table - one column from constant value, other from an array
body: <p>How do insert multiple rows into a mysql table, with one column remaining constant, and the other as an array.</p>
  
  <pre><code>//inserted profession into professions table, return id
  $new_profession_id = mysql_insert_id(); 
  
  $qualification_array = array();
  
  foreach ($_POST['qualification'] as $qual){
      array_push($qualification_array, $qual);
  }
  
  $query = "???
  </code></pre>
  
  <p>now how would I insert this into the profession_has_qualification table? its got me stumped...</p>