Bonjour,

Comment insérer dans la bdd ces 3 tableaux :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
Array ( [0] => 1 [1] => 10 [2] => 30 ) 
Array ( [0] => 2 [1] => 20 [2] => 35 ) 
Array ( [0] => 1 [1] => 20 [2] => 35 )
key [0] correspond au champ "weight_min"
key [1] correspond au champ "weight_max"
key [2] correspond au champ "price"

le requete
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
 
$sql = $db->prepare("INSERT INTO ".$_SESSION["table"]." ( weight_min, weight_max,  price )
			VALUES (:weight_min, :weight_max, :price) ");
merci d'avance !