title: php/sql - insert same value on multiple field
body: <p>I have this code (this is working and pass these variable to another file)</p>
  
  <pre><code>            var month = "&lt;?php echo openedMonthbid();?&gt;";
      var user = "&lt;?php echo $_SESSION['member_id'];?&gt;";
      var day = new Array();
  
  
      $(':checkbox:checked').each(function(i){
      day.push('`' + $(this).val() + '`');  });
      var count = day.length;
  
                              $.ajax({
                              type: "POST",
                              url: "sendBidding.php",
                              data : "user="+user+"&amp;days="+day+"&amp;month="+month+"&amp;number=",
                              dataType: "json",
  </code></pre>
  
  <p>sendBidding.php</p>
  
  <pre><code>$month = $_POST['month'];
  $user = $_POST['user'];
  $days = $_POST['days'];
  $count = $_POST['count'];//if a check 3 values I get '3'
  
  
        mysql_query("INSERT INTO $month ($days) VALUES ('1','1','1')");
  
  
      $result = true;
  
      echo json_encode(array("success"=&gt;$result,
                                 "datas" =&gt; $data,
                                  "mon"=&gt;$month));
  </code></pre>
  
  <p>I would like to add as many values ('1') as the number of days selected. How can I change VALUES ('1','1','1') ?</p>