note 82745 added to language.oop5.static

From: Date: Thu, 24 Apr 2008 01:53:23 +0000
Subject: note 82745 added to language.oop5.static
Groups: php.notes 
Request: Send a blank email to php-notes+get-138725@lists.php.net to get a copy of this message
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? ---- Server IP: 200.185.109.13 Probable Submitter: 189.26.17.202 ---- Manual Page -- http://www.php.net/manual/en/language.oop5.static.php Edit -- https://master.php.net/note/edit/82745 Del: integrated -- https://master.php.net/note/delete/82745/integrated Del: useless -- https://master.php.net/note/delete/82745/useless Del: bad code -- https://master.php.net/note/delete/82745/bad+code Del: spam -- https://master.php.net/note/delete/82745/spam Del: non-english -- https://master.php.net/note/delete/82745/non-english Del: in docs -- https://master.php.net/note/delete/82745/in+docs Del: other reasons-- https://master.php.net/note/delete/82745 Reject -- https://master.php.net/note/reject/82745 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#138725) next »