A parte il fatto che i dati dovresti metterli tra apici
hai provato con addslashes?Codice PHP:
"....VALUES('".$dato[1]."','".$dato[4]."','"....ecc
http://php.net/manual/en/function.addslashes.phpCodice PHP:
"....VALUES('".addslashes($dato[1])."','".addslashes($dato[4])."','"....ecc