note 13081 deleted from function.mysql-connect.php by sniper
| From: | sniper@php.net | Date: | Fri, 15 Jun 2001 00:04:43 +0000 |
| Subject: | note 13081 deleted from function.mysql-connect.php by sniper | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-14411@lists.php.net to get a copy of this message | ||
Is any way u can check what's the problem when connection couldn't be established ?
$link = mysql_connect...
if(!$link)
{
echo("couldn't connect");
}
is not very good :)
and echo($mysql_error) doesn't work :( or writes nothing