note 82745 rejected from language.oop5.static by felipe
| From: | felipe@php.net | Date: | Thu, 24 Apr 2008 11:08:15 +0000 |
| Subject: | note 82745 rejected from language.oop5.static by felipe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-138734@lists.php.net to get a copy of this message | ||
Note Submitter: Gabriel Ortiz
----
Why I can't have a static connection resource to MySQL?
I have tried to made the connection ID static so I would connect only once, but it doesn't
work.
I've tried making the class a singleton with "static getConnectio()", also
didn't work.
anyone?