Load MySQL from a variable
| From: | Kim Kohen | Date: | Tue, 21 Oct 2003 04:24:21 +0000 |
| Subject: | Load MySQL from a variable | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-31213@lists.php.net to get a copy of this message | ||
G'day all,
I have some data from Filemaker Pro which needs to have a lot of
search/replacing done before importing into MySQL. I have used ereg_replace
in PHP and end up with a variable holding the correct data. (there are
several hundred rows of data in the variable)
Is it possible to use Load data infile with a variable or will I need to
write out a temp file and then load that?
Cheers and thanks
kim