Reading from a file
| From: | Rick Dahl | Date: | Tue, 01 Jul 2003 16:10:36 +0000 |
| Subject: | Reading from a file | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-29000@lists.php.net to get a copy of this message | ||
I need to read from a file that is tab delimited. Is there anyway to specify that it reads between
each tab and that is it. I know fread() uses bytes to figure out what to read but that isn't
very practical in my case.
Also, how do I get rid of any white space at the end of a variable if there is some once it is read
in?
- Rick