Re: Parsing Tab Delimited file

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

 



> 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



-- 
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