Re: Parsing CSV with parameters?
| From: | Marek Kilimajer | Date: | Thu, 13 Feb 2003 12:14:37 +0000 |
| Subject: | Re: Parsing CSV with parameters? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-135418@lists.php.net to get a copy of this message | ||
fgetcsv() - for reading the file
str_replace('(', '\(', $string) - for escaping )s
Leif K-Brooks wrote:
I'm trying to parse CSV data with parameters, i.e. foo(something),bar(something),something(foobar). Any suggestions on doing this, hopefully with some way to escape )s in the parameters?