MySQL Forums
Forum List  »  PHP

Re: fgetcsv enclosure argument is ignored
Posted by: Bill Karwin
Date: May 04, 2006 01:13PM

First of all, this is a PHP forum as related to using PHP with MySQL. Nothing in your question relates to MySQL as far as I can see.

That said, you need to specify '|' as your field delimiter instead of a comma when calling fgetcsv(). For example:

fgetcsv( $file, 4096, '|')

See http://www.php.net/fgetcsv for more details.

Regards,
Bill K.

Options: ReplyQuote


Subject
Written By
Posted
Re: fgetcsv enclosure argument is ignored
May 04, 2006 01:13PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.