...giornataccia!![]()
Con un solo INSERT funziona correttamente con due no!
mi dite dove sbaglio?
Questo è l'errore:codice:$query = "INSERT INTO mailing VALUES ('yyy@ffff.it', '', '', 'Redazione', 'SI', '', '00:00:00'); INSERT INTO mailing VALUES ('uuu@ffff.it', '', '', 'Redazione', 'SI', '', '00:00:00'); "; mysql_query ($query) or die('Errore: ' . mysql_error());
p.s. se copio e incolllo i due insert nella form SQL di PhpMyadmin, neanche a dirlo, tutto è ok!!codice:Errore: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '; INSERT INTO mailing VALUES ('uuu@ffff.it', '', '', 'Redazi
grassie

Rispondi quotando

