duda MySQL

From: Date: Fri, 01 Jul 2005 09:28:08 +0000
Subject: duda MySQL
Groups: php.general.es 
Request: Send a blank email to general-es+get-55261@lists.php.net to get a copy of this message
hola otra vez, Tengo un problema con el siguiente query: $sql = "LOAD DATA LOCAL INFILE '/ruta/al/documento.txt' INTO TABLE productos FIELDS TERMINATED BY '\t' ESCAPED BY '\' LINES TERMINATED BY '\n'"; mysql_query($sql) or die('<br><br>'.mysql_error()); Me devuelve el siguiente error: 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 ''' at line 2 ¿Qué estoy haciendo mal? wes ··· Wessley Roche · Icon Designer · wessley@iconizer.com · www.iconizer.com ···

« previous php.general.es (#55261) next »