Hi,
really quick question
please look at the following example
$dbConnect = mysql_connect($host , $username , $password) or die ("BIT OF A PROBLEM PLEASE COME BACK LATER");
is this a good way to do it or should I maybe use
$dbConnect = mysql_connect($host , $username , $password);
if(!$dbConnect)
{
echo "COULD NOT CONNECT !!";
}
else
{
echo "CONNECTED !!";
}
If you could explain which way is best it would be a great help too.
also to add I have error_reporting(0); set
thanks