define('HOST_BD', "localhost");
define('USUARIO_BD', "keelauto_site");
define('SENHA_BD', "MAX3341");
define('BD', "keelauto_site");
function conecta_bd(){
$host = HOST_BD;
$usuario = USUARIO_BD;
$senha = SENHA_BD;
$connect = mysql_connect($host, $usuario, $senha);
if ($connect){
return($connect);
}
return(false);
}
?>
Fatal error: Uncaught Error: Call to undefined function mysql_select_db() in /home/keelauto/public_html/config.php:5
Stack trace:
#0 /home/keelauto/public_html/index.php(3): include()
#1 {main}
thrown in /home/keelauto/public_html/config.php on line 5