mysql_query deprecated as of PHP 5.5.0

March 02, 2013
New connection string
$link2 = mysqli_connect("localhost", "username", "password", "db_name");
 
New code
$sSQL="SELECT * FROM Table";
$result=mysqli_query($link2,$sSQL);
if ($row=mysqli_fetch_assoc($result))
{
$msg=$row["adminUsername"];
}
 
Here is the link to the new function: http://www.php.net/manual/en/mysqli.query.php