Page 1 of 1

Getting comma seperated data

Posted: Thu Aug 07, 2003 9:46 am
by RedRasper
Hello,

I have a file, which I have no problem getting the data out of, but what I'm not sure is how to get at the data on each line. Basically each line has a name and number seperated by a comma.

I know this is probbaly very simple, but other than going through the line char by char I can see any way of doing it.

Many thanks for any help,

RedRasper

Posted: Thu Aug 07, 2003 10:03 am
by m3rajk
try looking up explode on http://www.php.net