note 40833 added to function.mysql-ping

From: Date: Tue, 16 Mar 2004 12:35:00 +0000
Subject: note 40833 added to function.mysql-ping
Groups: php.notes 
Request: Send a blank email to php-notes+get-66910@lists.php.net to get a copy of this message
Is important to remember that if your first connection to mysql don't works, mysql_ping will always return true! So, if you want to check if mysql is connected, first of all you must check if mysql_connect do not returns false and then you can begin to check mysql_ping. ---- Manual Page -- http://www.php.net/manual/en/function.mysql-ping.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+40833 Delete -- http://master.php.net/manage/user-notes.php?action=delete+40833&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+40833&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#66910) next »