Re: Libraries includes

From: Date: Tue, 22 Oct 2002 01:25:40 +0000
Subject: Re: Libraries includes
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-120835@lists.php.net to get a copy of this message
on 22/10/02 4:01 AM, Tyler BIRD (BIRDTY@uvsc.edu) wrote: > I have made a library of functions that I include() > when I try call a function I am given a error message of undefined > funtion, etc > > are included files in a separate namespace or something > anybody have any ideas or questions for me maybe I'm doing something > wrong. That's how they're supposed to work. If mylib.php has a function called makeMeLunch(): <? include('mylib.php'); makeMeLunch(); ?> ... will work. Perhaps you should paste some code? Justin

« previous php.general (#120835) next »