|
Posted by Oli Filth on 11/02/05 04:20
yawnmoth said the following on 02/11/2005 01:52:
> I should, perhaps, also mention that strings aren't the only things
> that can be between the commas. Another valid file is as follows:
>
> "te,st",4,2
>
> Given this, the regular expression is, at the very least, not going to
> be particuraly easy. Before making the original post, I was unable to
> come up with a sufficient one for preg_split.
>
> As such, if regular expressions are the key, I could still use some
> help...
>
A shortcut might be http://php.net/fgetcsv.
--
Oli
Navigation:
[Reply to this message]
|