On 03-Sep-2001 Aaron Moore wrote:
> ok i have this at the top of my page:
> include("/www/data/vi2/root/layout/functions.php");
> include("/www/data/vi2/root/layout/config.php");
> require("/www/data/vi2/root/layout/init.php");
> but when I call one of the functions included in functions.php i get a
> message saying :
> Fatal error: Call to undefined function: get_total() in
> /www/data//root/test.php on line 7
> how do i get it to know that the function exists?
if (function_exists('get_total'))
   echo 'got'; 
} else {
   echo 'not';

Don Read                                       [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to 
   steal the neighbor's newspaper, that's the time to do it.

PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to