help with file function
Moderator: General Moderators
-
greedyisg00d
- Forum Commoner
- Posts: 42
- Joined: Thu Feb 12, 2009 2:48 am
help with file function
I have a table Company with 3 fields namely Name, Address and ContactInfo. The data is tabulated in ms excel and then exported into text. I want to use the file functions of php which is first is to get the number of columns of the text file which must be 3 columns and second is to get and echo the data of the first column Name. Any idea on how can this be done. Thanks
-
Mark Baker
- Forum Regular
- Posts: 710
- Joined: Thu Oct 30, 2008 6:24 pm
Re: help with file function
Just a text file, or do you mean a csv of similar file?
What does the file content actually look like?
What does the file content actually look like?