RE: [PHP] ASP guts needs help.
| From: | Daniel Purdy | Date: | Wed, 22 Sep 2004 17:52:19 +0000 |
| Subject: | RE: [PHP] ASP guts needs help. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-197594@lists.php.net to get a copy of this message | ||
[snip]
On Wed, 22 Sep 2004 00:09:01 -0600, LW Ellis <lwellis@mindspring.com>
wrote:
> I'm new to php, but am familar with ASP.
> I have this code to open and read a text file.
> What I need is to take out the 'while' and present the data one line
> at a time. I read up on fgetcsv, but we will be using one text file
> per record. I just need to format how it is displayed.
I'm afraid I'm a little fuzzy on what you're attempting to do. Do you
have a text file with CSV data, and you're trying to split that data
into an array, of which you'd like each element displayed on a separate
line?
[/snip]
I'm also a little fuzzy on what you are attempting, but, it sounds to me
like you might wanna check out the fseek function.
http://www.php.net/fseek
HTH!