I'm trying to parse a simple CSV file from FileMaker. It looks something like this:
"matt short","matt.short@email.com","x103"
"next employee","next.employee@email.com","x104"
etc.
Is there a way to have PHP break each column out to become a variable? For instance, $name = $csv[1]
What I'm trying to do is create a web page that will list the name as a hyperlink to the email address for each employee.
<a href=mailto:$email>$name</a><br>$extension
or something to that affect. I just can't seem to find a way to have PHP break each element out to do that
Can anyone help? Thanks!
Parsing CSV output from Database
Moderator: General Moderators
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact: