I am having trouble with insert the same value N time In SQL via PHP script. I have this vslue?
Table Info column (ID,Name, LastName,)
Valus ('',Alain,Alian);
Whata i want to do is insert this value in the same table 10 Times Using a While loop for E.G Or something like that any idea?.
<?php
$i=1;
While ($i<= 5)
{
$sql="INSERT INTO arivage
(ID_Ship,Date_ariv,Date_achat,prov_id,Sph,cyl,Prod_type,Pord_color)
VALUES
('','$date','$date1','$prov_id','$sph','$cyl','$Prod_type','$Pord_color')";
$i++;
}
?>