just put the lines in an array, each array element contains a line... and then just print the specified array elements...
Edward ----- Original Message ----- From: "John Gurley" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 13, 2002 12: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 world's 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 > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php