RE: [PHP] undefined functions question
| From: | Matt Williams | Date: | Fri, 16 Feb 2001 19:08:19 +0000 |
| Subject: | RE: [PHP] undefined functions question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-40203@lists.php.net to get a copy of this message | ||
>
> This has been an ongoing problem, when I include a file which contains a
> call to a function I get undefined function errors but when I try
> to include
> the file containing the function I get cannot redeclare function error
> messages, I can't win how do I make sure my functions are available to any
> script whether included or whatever.
>
is the function declared before file is included?
I'm not sure but this may cause a problem.
As for getting the redeclare error, are you sure the function is not
declared in the page or any other file that is included.
Sorry if this seems a little obvious..
Regards
M@