Re: printing files
| From: | val petruchek | Date: | Wed, 13 Feb 2002 12:21:19 +0000 |
| Subject: | Re: printing files | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-84572@lists.php.net to get a copy of this message | ||
$data = file ($certain_file);
echo "{$data[0]}\n";
echo "{$data[3]}\n";
echo "{$data[7]}\n";
Valentin Petruchek (aki Zliy Pes)
*** Cut the beginning ***
http://zliypes.com.ua
mailto:val@zliypes.com.ua
----- Original Message -----
From: "John Gurley" <john_g83@hotmail.com>
To: <php-general@lists.php.net>
Sent: Wednesday, February 13, 2002 1:55 PM
Subject: [PHP] printing files
> Just a quick question,
> is there a way to echo in your php code lines of a file that you specify.
> i.e. you want to output lines 1,4,7 of a certain text file
> Thanks
> John
>
>
>
> _________________________________________________________________
> Join the worlds largest e-mail service with MSN Hotmail.
> http://www.hotmail.com
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>