Leif K-Brooks wrote:
Thanks, but you totally misunderstood me. I'm not looking to get normal CSV data (as in foo,bar,foobar), I'm looking to get CSV data with parameters and get each piece of data and its parameter. For example, I have a string something like foo(data),bar(data),foobar(data). I need to get each parameter, and each value, and put them into arrays. I also need to have a way to escape any )s in the parameter.
Marek Kilimajer wrote:
fgetcsv() - for reading the file str_replace('(', '\(', $string) - for escaping )sLeif 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?
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php