RE: Importing CSV files to MySql Db issue.

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

 



Chris,

> If you're using spaces for enclosing then I'm sure you're not 
> handling 
> something properly.
> 
> Chris,Carter,email@xxxxxxxxxxx <-- 3 records
> Chris Carter,email@xxxxxxxxxxx <-- 2 records
> 

Don't you mean:

 Chris,Carter,email@xxxxxxxxxxx <-- 3 *fields*
 Chris Carter,email@xxxxxxxxxxx <-- 2 *fields*

And both only result in one record for each CSV line?

Or do PHP and MySql handle CSV files different from most other applications?

Gary

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