Kyle Smith wrote:
>ok i have this code to do whats below, but its not working
>
Try to use file(), which will return an array.
So that would be:
$lines = file(filename);
for($i=0; $i<2; $i++)
{
print($lines[$i]);
}
/franklin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
- [PHP] Quick TXT document stuff Kyle Smith
- Re: [PHP] Quick TXT document stuff Kyle Smith
- Re: [PHP] Quick TXT document stuff Tim
- Re: [PHP] Quick TXT document stuff Franklin van Velthuizen
- Re: [PHP] Quick TXT document stuff Steve Edberg
- [PHP] Re: Quick TXT document stuff _lallous

