View Single Post
Old 10-31-2009, 12:18 AM   #12 (permalink)
Dave
The Acquainted
 
Dave's Avatar
 
Join Date: Apr 2008
Posts: 110
Thanks: 97
Dave is on a distinguished road
Default

Yes, thanks very much. That works perfectly!

The script I was using to learn from used the fgets() function. Later in the script, the split() function was used, based on a comma delimiter.

So, in looking back, maybe the author intended the script to be used for only comma-delimited text files, and not comma-delimited csv files. Although, I sorta thought that a comma-delimited text file WAS a csv file, but maybe not...

Alright, well, this was a good learning experience! Thanks for the help.

Dave
Dave is offline  
Reply With Quote