Getting comma seperated data

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
RedRasper
Forum Commoner
Posts: 48
Joined: Thu Apr 24, 2003 6:36 am

Getting comma seperated data

Post 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
m3rajk
DevNet Resident
Posts: 1191
Joined: Mon Jun 02, 2003 3:37 pm

Post by m3rajk »

try looking up explode on http://www.php.net
Post Reply