Re: Re: passing a mysqli object via globals
| From: | julian | Date: | Tue, 04 Dec 2007 09:43:57 +0000 |
| Subject: | Re: Re: passing a mysqli object via globals | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-44386@lists.php.net to get a copy of this message | ||
Dee Ayy wrote:
yep sorry, as I mention it was a typo.. too upset to type everything correctly. However, it behaves the same way if I use $GLOBALS['db']. I feel fresh and calm today... I will give it another try, separating classes in different files and do some other teawking ... at least for the time others are putting. Cheers. JCGno 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"?