[snip] On Wed, 22 Sep 2004 00:09:01 -0600, LW Ellis <[EMAIL PROTECTED]> 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! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php