04.06.2016, 21:09
Alguem sabe me informar porque esse erro (abaixo), e como retiro ? desde jб agradeзo.
Code do erro:
Quote:
Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in C:\xampp\htdocs\Site\Registro\confregistro.php on line 14 |
PHP код:
$host = "localhost";
$user = "root";
$pass = "";
$db = "gmnova";
$conexao = mysql_connect($host, $user, $pass) or die(mysql_error()); //ESSA Й A LINHA 14 DO ERRO
mysql_select_db($db) or die(mysql_error());