Hi
I have a problem with inserting into one tabel. I have one other “Insert” before in the code, that works just fine. I can’t figure out what is wrong. Could anyone help?
$aId3 = $_POST[‘formID’];
$stmt = $con->prepare(“INSERT INTO OrdreDetalierT (OrdreID, UVmaterialeID )
VALUES (?, ?)”);
for($i=0; $i < $N; $i++)
{
$stmt->bind_param(‘isi’, $Ordre_id, $aId3[$i] );
$stmt->execute();
}
$stmt->close();