fetch data from text file

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
prue_
Forum Commoner
Posts: 64
Joined: Thu May 07, 2009 10:34 pm

fetch data from text file

Post by prue_ »

hello, I have a text file and a php script that reads the lines from the text file.. it's working already but my problem is I need to read certain lines from the text file.. I have created several variables and those variables were supposed to call the lines from the text file... but any variable I use it always display the first line from the text file.... can anyone help me with this? thanks.
Mark Baker
Forum Regular
Posts: 710
Joined: Thu Oct 30, 2008 6:24 pm

Re: fetch data from text file

Post by Mark Baker »

prue_ wrote:can anyone help me with this? thanks.
Unlikely, unless you show us the code that you're using to read from the text file
prue_
Forum Commoner
Posts: 64
Joined: Thu May 07, 2009 10:34 pm

Re: fetch data from text file

Post by prue_ »

I figure this out already... thank you though
Post Reply