Re: newbie : how to access functions in seperate files???

From: Date: Mon, 03 Sep 2001 05:45:24 +0000
Subject: Re: newbie : how to access functions in seperate files???
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-65701@lists.php.net to get a copy of this message
A few things to consider: 1) double check the include path. 2) if you're not the appropriate file is being included, then user REQUIRE, as that will stop the program. 3) Variable Scope Your function variables may be out of scope. Double check them, or make them global. 4) If you include a file from within a function, then the scope of that file is only WITHIN that function. {something to that line...} double check your variable scopes. hope that helped. -john

« previous php.general (#65701) next »