RE: [PHP-DB] File read question

2005-07-22 Thread Chris Payne
Hi there, That actually looks like it might do it, thank you. I'm having a slow brain day today :0) Chris What's the file format, if things are delimited, just read the first line out from the file, after getting it with file() or something, and then use explode() to break it up into an array

Re: [PHP-DB] File read question

2005-07-22 Thread Micah Stevens
What's the file format, if things are delimited, just read the first line out from the file, after getting it with file() or something, and then use explode() to break it up into an array based on the delimeter. Then you can foreach through it. Assuming it's comma seperated, this would work I