note 45848 added to function.mysqli-select-db
| From: | miguel dot simoes at almadanet dot com | Date: | Tue, 21 Sep 2004 16:02:35 +0000 |
| Subject: | note 45848 added to function.mysqli-select-db | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-77110@lists.php.net to get a copy of this message | ||
When using Zend Compatibility Mode, you'll not be able to use MySQLi as you would like. Each
time you try to create a new object you'll get:
"Fatal error: Trying to clone an uncloneable object of class mysqli in XXX".
In order to use the mysqli objects you'll need to deactivate Zend Compatibility mode before
calling the connect procedure:
ini_set('zend.ze1_compatibility_mode', 0);
$mysqli = new mysqli(hostname,username,password,[database]);
** Issue happening under Unix and Windows OS.
----
Manual Page -- http://www.php.net/manual/en/function.mysqli-select-db.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+45848
Delete -- http://master.php.net/manage/user-notes.php?action=delete+45848&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+45848&report=yes
Search -- http://master.php.net/manage/user-notes.php