You can't do a partial include.  Put some logic into your include file so
only the appropriate lines are executed.  Or if you are not executing
anything but simply reading a file containing data, use fopen()/fgets()
and read past the first 5 lines.

-Rasmus

On Sat, 13 Apr 2002, Alberto Wagner wrote:

> But its exactely what I don't want
>
> 13/04/2002 11:11:54, "Cal Evans" <[EMAIL PROTECTED]> wrote:
>
> >Break those lines out into another file...
> >=C=
> >*
> >* Cal Evans
> >* Journeyman Programmer
> >* Techno-Mage
> >* http://www.calevans.com
> >*
> >
> >
> >-----Original Message-----
> >From: Alberto Wagner [mailto:[EMAIL PROTECTED]]
> >Sent: Saturday, April 13, 2002 4:33 AM
> >To: Php General Mailling List
> >Subject: [PHP] Including only I want
> >
> >
> >Is there any way to include only the lines that I want in an other PHP file?
> >
> >something like Include();
> >
> >like lines number 5,6 and 7.
> >
> >only this ones and not the entire script?
> >
> >
> >
> >
> >--
> >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
> >
> >
> >
>
>
>
>
>
> --
> 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

Reply via email to