Re: Parsing Tab Delimited file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At 02:54 PM 10/24/2010, Jason Pruim wrote:

On Oct 24, 2010, at 2:46 PM, Ethan Rosenberg wrote:

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.

How do I do it?  Code samples, please.

Thanks.

http://tinyurl.com/2fnm48f


++++++++++
Jayson -

Sorry for the delay.

Thanks.  With what you and Andres send,  it works beautifully.

Ethan


--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux