Re: INCLUDE QUESTION
| From: | Matt McClanahan | Date: | Mon, 06 Nov 2000 23:15:53 +0000 |
| Subject: | Re: INCLUDE QUESTION | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-24006@lists.php.net to get a copy of this message | ||
On Mon, 6 Nov 2000, King Georgie wrote:
> If I have a PHP file which includes another PHP file like so:
>
> <html>
> hghghghghghghghghghgh
> <?
> virtual ("/home/www.blah.com/top.php4");
> ?>
>
> and say top.php4 has some PHP code, will the PHP code in top.php4 be
> executed???
Don't use virtual(). You want include().
http://www.php.net/manual/function.include.php
Matt