Re: printing files
| From: | Henning Sprang | Date: | Wed, 13 Feb 2002 12:00:50 +0000 |
| Subject: | Re: printing files | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-84563@lists.php.net to get a copy of this message | ||
Hy,
John Gurley wrote:
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 fileuse the fopen and fread functions, to read lines from a file, only put the wanted lines into a string and output this string. hth, henning