Re: function problem ...

From: Date: Wed, 07 Feb 2001 11:43:38 +0000
Subject: Re: function problem ...
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-38531@lists.php.net to get a copy of this message
Try require_once($your_file) or verify in $your_file use the function function_exists() []'s ------------------------ Frederico Augusto Costa facosta@magnux.com.br ------------------------ On Wed, 7 Feb 2001, Miguel Loureiro wrote: > Hello > I have a script that use other script file(php) twice, I call a function with certain > parameters and call it again with other parameters and when runnig the script, the first function > works well, but on second time I got a error message: "Fatal error: Cannot redeclare getndays() > in Unknown on line 5". > Anyone kows what is my problem ??? > T.Y. > Miguel Loureiro <m.loureiro@distrim2.pt > >

« previous php.general (#38531) next »