calling include inside a function?
| From: | Louie Miranda | Date: | Thu, 11 Dec 2003 07:34:31 +0000 |
| Subject: | calling include inside a function? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-172442@lists.php.net to get a copy of this message | ||
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