Re: Displaying PHP-File
| From: | Martin Thoma | Date: | Thu, 10 Aug 2000 08:33:06 +0000 |
| Subject: | Re: Displaying PHP-File | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-11089@lists.php.net to get a copy of this message | ||
Brian Clark wrote:
>
> Niklas Brunlid wrote:
>
> >"include" needs parantheses (sp?):
> >
> > include("ShowForm.php");
> >
> >(strangely enough, the first example at
> >"http://www.php.net/manual/function.include.php"
> >has none... weird).
>
> Nope, they're not required.
>
> include 'foo.inc.php';
>
> works fine.
.. it doesn't work fine (with or without {}) when reading the file into
a variable and printing it out :-(
Regards
Martin