newbie : how to access functions in seperate files???
| From: | Aaron Moore | Date: | Mon, 03 Sep 2001 04:12:50 +0000 |
| Subject: | newbie : how to access functions in seperate files??? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-65696@lists.php.net to get a copy of this message | ||
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?
Thanks for your help and time.