Re: Libraries includes
| From: | Justin French | Date: | Tue, 22 Oct 2002 01:28:29 +0000 |
| Subject: | Re: Libraries includes | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-120839@lists.php.net to get a copy of this message | ||
on 22/10/02 4:01 AM, Tyler BIRD (BIRDTY@uvsc.edu) wrote:
> I have made a library of functions that I include()
> when I try call a function I am given a error message of undefined
> funtion, etc
>
> are included files in a separate namespace or something
> anybody have any ideas or questions for me maybe I'm doing something
> wrong.
Also, make sure the any PHP code in the mylib.php file is wrapped in php
tags:
<?
function makeMyLunch()
{
...
}
?>
NOT just
function makeMyLunch()
{
...
}
Justin