Re: Parsing Tab Delimited file
| From: | Ethan Rosenberg | Date: | Tue, 26 Oct 2010 13:51:21 +0000 |
| Subject: | Re: Parsing Tab Delimited file | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-47436@lists.php.net to get a copy of this message | ||
At 02:54 PM 10/24/2010, Jason Pruim wrote:
On Oct 24, 2010, at 2:46 PM, Ethan Rosenberg wrote:Jayson - Sorry for the delay. Thanks. With what you and Andres send, it works beautifully. EthanDear list - Thanks for all your help. I have a tab delimited file which I wish to import into a data base. In MySQL I can use the LOAD DATA command. As far as I know, that command cannot be used in PHP as a mysqli_query. As I understand, I have to parse the file and use the INSERT command. How do I do it? Code samples, please. Thanks.http://tinyurl.com/2fnm48f ++++++++++