Php/mysql insert

I am displaying a form fields ‘$amount times’ (4 times) and want the value to go to the database ‘$amount times’ (4 times) . Such that form feilds 1,form feilds 2 & form feilds 3
are inserted into the table all at once.

 
$amount = 4;
for ($i=0;$i<$amount;$i++)
    {
     $queryE = ( "insert into table(value1,value2,value3) 
     values('$value1','$value2','$value3')");  
     mysql_query($queryE);  
 
    }

With this code only the last value (form field 3) is inserted, Why?