note 60249 added to function.mysql-close
| From: | matttah | Date: | Sat, 31 Dec 2005 09:09:25 +0000 |
| Subject: | note 60249 added to function.mysql-close | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-101031@lists.php.net to get a copy of this message | ||
You might want to try something like mysql_query(string, db). The reason your current way
doesn't work is that the db2 is the last one open, and if you don't state which db to
query it goes to the last opened one even if it isn't opened anymore.
----
Manual Page -- http://www.php.net/manual/en/function.mysql-close.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+60249
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+60249&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+60249&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+60249&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+60249&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+60249&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+60249&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+60249&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+60249&report=yes
Search -- http://master.php.net/manage/user-notes.php