EseguiQuery($qdel) ; /************************************************************* * Devo inserire la terna $idfornitore - $codice - $idagente * nella tabella relfornitoriclienti *************************************************************/ @reset($arrIdFor) ; foreach($arrIdFor as $indice => $idfor) { $codice = $arrValCodici[$indice] ; if ($codice > 0) { $qins = "insert into relfornitoriclienti (IdFornitore, IdCliente, Codice, Anno) VALUES ($idfor, $idCliente, $codice, $anno)" ; $ret &= $db->EseguiQuery($qins) ; } } debug (1, "RET = $ret") ; ?>