Re: include & require directive

From: Date: Tue, 13 Aug 2002 01:55:28 +0000
Subject: Re: include & require directive
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-112233@lists.php.net to get a copy of this message
But I do... If I left out the require statement.... all is well.. or I copy the whole content of the included file.. it works fine. The problem is the require statement. "James Green" <jg@cyberstorm.demon.co.uk> wrote in message news:1029189422.2253.51.camel@cyberstorm.jmkg.claranet.co.uk... > On Mon, 2002-08-12 at 22:14, Huy wrote: > > If I use either the include or require statement, PHP will generate some > > lines in the browser. For example, I want the first line is Hello There.. > > echo ("Hello There"); but the line happens to be the third line after some > > blank lines. So how do I turn that off?? > > http://uk.php.net/manual/en/function.include.php > > Enclose your included scripts in <?php ... ?> > > James > >

« previous php.general (#112233) next »