Re: Parsing Tab Delimited file
| From: | Niel Archer | Date: | Sun, 24 Oct 2010 19:17:20 +0000 |
| Subject: | Re: Parsing Tab Delimited file | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-47434@lists.php.net to get a copy of this message | ||
> Dear 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.
It can be done, IF the MySQL server allows you to do it.. Check the
servers configuration.
> How do I do it? Code samples, please.
>
> Thanks.
>
> Ethan
>
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
--
Niel Archer
niel.archer (at) blueyonder.co.uk