Re: Re: passing a mysqli object via globals
| From: | Dee Ayy | Date: | Mon, 03 Dec 2007 21:38:51 +0000 |
| Subject: | Re: Re: passing a mysqli object via globals | ||
| References: | 1 2 3 4 5 6 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-44383@lists.php.net to get a copy of this message | ||
> no worries.... I give up. It is really weird I know.... Hope some day I
> will get enlighted.
>
> In one file, any method within a class is happy with the global
> $db...on a different (same file !!!) class no method is happy with
> accessing $db via global...
So you confirmed that you are using "global" instead of what you
posted to the list as "globals"?