RE: [PHP-DB] Re: Urgent! Store Data In A Text File!

2002-01-02 Thread Rick Emery
"apt c" $fields[4]="anytown" $fields[5]="texas" $fields[6]="12345-6789" $fields[7]="972-123-4567" the line $inputline would have been read from a text file. -Original Message- From: Jerry [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January

[PHP-DB] Re: Urgent! Store Data In A Text File!

2002-01-02 Thread Jerry
To retrieve data from a text file, I'm using: $fp= file("textfile.txt","r"); foreach($fp as $line) echo "- $line -"; Jerry "Arik Ashepa" <[EMAIL PROTECTED]> wrote: > Can someone please tell me how can I add and retrive data from a text file I > know it has something to do with Spliting...??? >