spewn
Programmer
- May 7, 2001
- 1,034
i have a couple paragraphs stored in a text file and i want to display the contents on screen...
the only problem is i can only access the first line.
here's what i'm using...
once i display the contents stored in $offerInfo, it only shows me the first line of file.
any ideas?
- g
the only problem is i can only access the first line.
here's what i'm using...
Code:
$cfile = "offer-text/".$offer.".txt";
open (COUNTER, "$cfile");
$offerInfo = <COUNTER>;
close (COUNTER);
once i display the contents stored in $offerInfo, it only shows me the first line of file.
any ideas?
- g