Ciao a tutti,

ho il seguente ciclo che mi fa un insert in una tabella:

Codice PHP:
if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) {
    
    
$utenti$_POST['utenti_idutenti'];
    
$ore $_POST['ore'];
    
$seminario$_POST['SemConcat'];

foreach (
$utenti as $key => $value){
    
$ext[] = "('idfrequenze','$ore[$key]','$value','$seminario[$key]','','')";
}
$ext implode(',',$ext);
// echo $ext; }
    
  
$insertSQL "INSERT INTO frequenzeswap Value $ext ;"

Oltre il centinaio di record si impalla... any suggestion ?

Nik