I keep Google searching my code to find the word Deprecated used more often than not. The following PHP code is used to log into the database.
[php]
function mysql_logon()
{
$mysql_link = @mysql_connect(kDB_HOST, kDB_USER, kDB_PASS) OR die (kServerError);
@mysql_select_db(kDB_NAME, $mysql_link) OR die (kDBError);
return $mysql_link;
}
[/php]
When I step through NetBeans, the $mysql_link is returning resource id=‘7’ type=‘mysql link’. What does this indicate? Is this a successful return?