Could someone give me the quick difference betweeen the 2 error
functions and why one should use one or the other.
if (!mysql_select_ db($database, $connection))
showerror();
$connection = mysql_connect(' mysql_host', 'mysql_user', mysql_password' )
or die('Could not connect: ' . mysql_error());
TIA
functions and why one should use one or the other.
if (!mysql_select_ db($database, $connection))
showerror();
$connection = mysql_connect(' mysql_host', 'mysql_user', mysql_password' )
or die('Could not connect: ' . mysql_error());
TIA
Comment