note 93008 added to function.die
| From: | watch dot do dot sun at gmail dot com | Date: | Wed, 19 Aug 2009 13:55:17 +0000 |
| Subject: | note 93008 added to function.die | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-159633@lists.php.net to get a copy of this message | ||
You can use this function for mysql connection.
For example:
<?php
$conn = mysql_connection("localhost","root",12345678);
if(!$conn){
die("Couldn't connected mysql");
}
?>
So if you can't connect to mysql you will take the message.
----
Server IP: 160.75.100.7
Probable Submitter: 94.123.190.43
----
Manual Page -- http://www.php.net/manual/en/function.die.php
Edit -- https://master.php.net/note/edit/93008
Del: integrated -- https://master.php.net/note/delete/93008/integrated
Del: useless -- https://master.php.net/note/delete/93008/useless
Del: bad code -- https://master.php.net/note/delete/93008/bad+code
Del: spam -- https://master.php.net/note/delete/93008/spam
Del: non-english -- https://master.php.net/note/delete/93008/non-english
Del: in docs -- https://master.php.net/note/delete/93008/in+docs
Del: other reasons-- https://master.php.net/note/delete/93008
Reject -- https://master.php.net/note/reject/93008
Search -- https://master.php.net/manage/user-notes.php