Site Marchand Airtria
|
Gestion des produits
|
".mysql_error()."...");
while ($ligne=mysql_fetch_row($result5))
{
$refprod=$ligne[1];
$denomination=$ligne[2];
$description=$ligne[3];
$location=$ligne[4];
$delailivraison=$ligne[5];
$prixht1=$ligne[6];
$prixht2=$ligne[7];
$prixht3=$ligne[8];
$qteprod1=$ligne[9];
$qteprod2=$ligne[10];
$qteprod3=$ligne[11];
$poidsprod1=$ligne[12];
$poidsprod2=$ligne[13];
$poidsprod3=$ligne[14];
$pathpdfdocument=$ligne[15];
$pathphotobassedef=$ligne[16];
$pathphotohautedef=$ligne[17];
$idfamille=$ligne[18];
}
$requete6="insert into produit (denomination,refprod,description,location,delailivraison,prixht1,prixht2,prixht3,qteprod1,qteprod2,qteprod3,poidsprod1,poidsprod2,poidsprod3,pathpdfdocument,pathphotobassedef,pathphotohautedef,idfamille) values ('$denomination','$refprod','$description','$location','$delailivraison','$prixht1','$prixht2','$prixht3','$qteprod1','$qteprod2','$qteprod3','$poidsprod1','$poidsprod2','$poidsprod3','$pathpdfdocument','$pathphotobassedef','$pathphotohautedef','$idfamille')";
$result6=mysql_query($requete6) or die ("Erreur SQL :$requete
".mysql_error()."...");
?>
produit duplique
Retour