Re: Automated data upload for customers
| From: | Richard Lynch | Date: | Sat, 20 Aug 2005 04:23:04 +0000 |
| Subject: | Re: Automated data upload for customers | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-220992@lists.php.net to get a copy of this message | ||
On Fri, August 19, 2005 7:45 pm, Jasper Bryant-Greene wrote:
>>>If other file formats are possible as well as CSV, you might like to
>>>look at the PEAR "File Formats" packages[1].
>>
>> Now TAB delimited is generally easier than CSV as it IS as simple as
>> reading a line and explode() on "\t"
>
> Unless of course the field is delimited with quotes and contains an
> embedded tab character? Just a guess, I haven't had any reason to use
> tab-delimited files before.
tab-delimited does not allow tabs in data, nor newlines.
There is no escape character.
It follows the KISS principle.
--
Like Music?
http://l-i-e.com/artists.htm