Zastąp swój kod:
$db_selected = mysqli_select_db("laboratory", $con);
zamiast
$db_selected = mysql_select_db("laboratory", $con);
Zastąp swój kod:
$db_selected = mysqli_select_db("laboratory", $con);
zamiast
$db_selected = mysql_select_db("laboratory", $con);