Substitua seu código:
$db_selected = mysqli_select_db("laboratory", $con);
ao invés de $db_selected = mysql_select_db("laboratory", $con);
$db_selected = mysqli_select_db("laboratory", $con);
ao invés de $db_selected = mysql_select_db("laboratory", $con);