title: store orders in database with diffrent id in one click botton
body: <p>I am workin on a webshop and  i try to store orders in database. if user select more than 1 products I just can store the latest chosen product in database. is it possible to store more than 1 products with diffrent id in one click ?</p>
  
  <p>I have this on other page "cart.php"</p>
  
  <p><code>$pp_checkout_btn = "&lt;a href='pp.php?post=' class='placeraorder'&gt;Placera Order&lt;/a&gt;";</code></p>
  
  <pre><code>  if (isset($_SESSION['id'])) {
  $postf=$_GET['post']; //
  $userid = $_SESSION['id'];
  $pris = $price; 
  $totalsumma = $price * $each_item['quantity'];
  $produkt_id = $each_item['item_id'];
  $antal = $each_item['quantity'];// I can store many quantity with this var  with the same id
  $storlek = $each_item['size'];
  $färg = $each_item['color'];
  
  mysql_query("INSERT INTO order_postf (produkt_id,userid,storlek,färg,pris,total_pris,antal,date) VALUES ('$produkt_id','$userid','$storlek','$färg','$pris','$totalsumma','$antal',now())")or die(mysql_error()); 
  
  
      }
  </code></pre>