You are here: Re: Comma delimited file « PHP Programming Language « IT news, forums, messages
Re: Comma delimited file

Posted by Jerry Stuckle on 07/28/06 20:55

Bertie Brink wrote:
> I am trying to read comma delimited rows of text. The problem is that
> some fields may be encapsulated in "" - particularly the text fields but
> not numeric fields.
>
> Is there a simple efficient way to parse the fields with comma but also
> strip off the "" encapsulating some of the fields with php?
>
> The problem is the "" encapsulation is optional. Some fields will have
> it, some won't.
>
> Thanks

fgetcsv() possibly?

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация