Re: Load Data infile
| From: | Matt Matijevich | Date: | Thu, 13 May 2004 21:41:01 +0000 |
| Subject: | Re: Load Data infile | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-186163@lists.php.net to get a copy of this message | ||
[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() ?