scusa ancora... ho provato questa query, ma non riesco a farla funzionare:
Codice PHP:
mysql_query("INSERT INTO contacts(name, surname, email, id_user)
VALUES('mario', 'provaaa', 'mario@mario.it', '998'),
VALUES('Giovanni', 'cognommmm', 'giovanni@cccc.it', '998'),
VALUES('Pietro', 'prov', 'mail@tti.it', '998')")
or die(mysql_error());
Dove sto sbagliando?
A video mi viene fuori questo 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 'VALUES('Giovanni', 'cognommmm', 'giovanni@cccc.it', '998