> [snip] > I need do load data infile in mysql: > $query_string2 = "LOAD DATA INFILE '/var/www/xls/test' REPLACE INTO > TABLE > `test` FIELDS TERMINATED BY ',' ENCLOSED BY '\"' ESCAPED BY '\\' LINES > TERMINATED BY '\n'";$query_db_string2 = mysql_query($query_string2); > But not realize nothing with execution the script. > [/snip] > > have you checked mysql_error() ?
yes, You have an error in your SQL syntax near ''' at line 2 but i change '\"' and not work. Thank you, Juan Pablo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php