title: Insert multiple data at once
body: <p>Though there are some same questions here, still I want to post my own question as I think I made a solution, but it's not working. Here is the following code:</p>
  
  <pre><code>$i=1;
  while ( $i&lt;= 10) 
  {
      $i++;
      $sql    =   "INSERT INTO job (Category, Title, Type) VALUES ('$_POST[cat]','$_POST[title]','$_POST[type]')";
  }
  </code></pre>
  
  <p>Shouldn't it insert 10 data one by one? But it just inserts 1 data. Why is this happening?</p>