Re: Function definitions
| From: | Folke Ashberg | Date: | Mon, 27 Nov 2000 12:09:02 +0000 |
| Subject: | Re: Function definitions | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-27344@lists.php.net to get a copy of this message | ||
Hi!
have you called your function like an existinh pgp function such as strstr
or mail ? Or do you try to declare it two times?
Possible is that you include the function which is excluded in an seperate
file which require "foobar.php" and you require it two times, or something
like this.. check your source...
regards
Folke
--
Folke Ashberg
Stage Internet Services GmbH
Technical Development
folke@fanstage.de
folke@fanstage.de | Tel: +49 89 454591-77 | Fax: +49 89 454591-71
Kreillerstr. 21 | 81673 Munich | Germany | www.fanstage.de
On Mon, 27 Nov 2000, manohar sadhasivam wrote:
> Hi,
> i am using PHP 4.0 and when i call a function before
> defining it, it gives a 'fatal error' message. when i
> put the definition before calling it, it says 'cannot
> redeclare function'.
> what does it mean and what to do?
> Please write .
> mano
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Shopping - Thousands of Stores. Millions of Products.
> http://shopping.yahoo.com/
>
>