Re: calling include inside a function?
| From: | Louie Miranda | Date: | Thu, 11 Dec 2003 07:40:06 +0000 |
| Subject: | Re: calling include inside a function? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-172443@lists.php.net to get a copy of this message | ||
Its possible
-- -
Louie Miranda
http://www.axishift.com
----- Original Message -----
From: "Louie Miranda" <louie@axishift.ath.cx>
To: <php-general@lists.php.net>
Sent: Thursday, December 11, 2003 3:34 PM
Subject: [PHP] calling include inside a function?
> I can't call an include inside a function, is this possible?
>
> --
> function elo() {
> include ("what.txt");
> }
> --
>
> even
>
> --
> $point = include ("what.txt");
> function elo() {
> echo $point;
> }
> --
>
> -- -
> Louie Miranda
> http://www.axishift.com
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>