Re: Error using require_once
| From: | Jason Wong | Date: | Thu, 12 Dec 2002 23:12:39 +0000 |
| Subject: | Re: Error using require_once | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-128096@lists.php.net to get a copy of this message | ||
On Friday 13 December 2002 09:20, enediel wrote:
> when I make a call from index.php to a function defined on
> global_functions.php, the called function can not use the database
> connection referred before.
Inside the function declare the variable you want to use as "global", see
manual for details.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
Support bacteria -- it's the only culture some people have!
*/