0

hi guyz i want to store my mutiple arrays values in to database actually used dynamic row table so i have to use array here the code

 $query_values=array(); 
 $count = count($_POST['c1']);

 for($i=0; $i<$count; $i++)
{
$c11 =$_POST['c11'][$i];
  $c31 = $_POST['c31'][$i];
       $c41 =$_POST['c41'][$i];
       $c51 = $_POST['c51'][$i];
        $c1 = $_POST['c1'][$i];
        $c2 =$_POST['c2'][$i];
         $c3 = $_POST['c3'][$i];
              $c4 = $_POST['c4'][$i];
          $c5 =$_POST['c5'][$i];
         $fc_id1 = $_POST['c11'][$i];
             $fc_id2 = $_POST['c31'][$i];
         $fc_id_total=($fc_id1.$fc_id2);
      $query_values = "                     ('$c11','$c31','$c41','$c51','$c1','$c2','$c3','$c4','$c5','$fc_id_total') ";
 }

now i don't know how to store arrays in database mysql kindly help me

Funk Forty Niner
  • 74,372
  • 15
  • 66
  • 132

1 Answers1

2
What
    in the
     hell is
        happening
            here?
            I seriously
            don\'t get
                it,
                what
            is going on.
            "i donot know what
         is wrong
           in this
     happening"
AbraCadaver
  • 77,023
  • 7
  • 60
  • 83