so its been nearly 3 years since i did any work on a site and having a problem as all the new php and connection type so need some guidence
<?php
$mysql_server = "info";
$mysql_user = "info";
$mysql_password = "info";
$mysql_database = "info";
$connection = mysql_connect("$mysql_server","$mysql_user","$mysql_password") or die ("UPDATING");
$db = mysql_select_db("$mysql_database") or die ("Unable to select requested database.");
?>
mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/sitename/public_html/includes/db_connect.php on line 8