ragazzi ho la seguente qyery
Codice PHP:
mysql_query("INSERT INTO venditori (`username`,`contact1`,`contact2`,`contact3`,`contact4`) VALUES ('".$dati[0]."','".$dati[1]."','".$dati[2]."','".$dati[3]."','".$dati[4]."')") or die(mysql_error());
e mi continua a dare il seguente errore
codice:
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
ho provato a cambiare diverse volte gli apici ma nulla. Premetto che i valori sono tutti stringa ed sono estrapolati da:
Codice PHP:
$dati = explode(";",$_POST['confirm']);