Jump to content

Recommended Posts

Posted

Username: nasserot, Server: Johnny, Main domain: painel.heliohost.org

 

Ola, amigo tenho tido um problema e nao sei como resolver, pois aqui no meu

computador quando eu estava desenvolvendo esse sistema nao apareceu nunca

este erro, quando coloquei ele no cPanel comecou isso, dominio:

painel.heliohost.org

Mensagem: *Deprecated*: mysql_connect(): The mysql extension is deprecated

and will be removed in the future: use mysqli or PDO instead in

*/home/nasserot/public_html/app/database/mysql.php* on line *37*

 

--

Atenciosamente,

*Nasser Maher Helal Othman*

Aluno do Curso Tecnico em Informatica - IFSC Campus Tubarao

Telefone:

*(48) 99904-7960 *

 

Livre

de virus. www.avast.com

.

Posted

This user is saying:

 

"Hello, my friend, I've had a problem and I do not know how to solve it, because here in my
computer when I was developing this system never appeared
this error, when i put it in cPanel started it, domain:
panel.heliohost.org
Message: * Deprecated *: mysql_connect (): The mysql extension is deprecated
and will be removed in the future: use mysqli or PDO instead
*/home/nasserot/public_html/app/database/mysql.php* on line *37*


--
Regards,
* Nasser Maher Helal Othman *
Student of the Technical Course in Informatica - IFSC Campus Tubarao
Telephone:
* (48) 99904-7960 *

Free
of viruses. www.avast.com"

 

 

You can get rid of that by adding 

error_reporting(0);

To the top of your scripts.

 

It's because mysql_* functions are obsolete and you should be using mysqli instead. They'll still work as long as you run a PHP 5.x version though. They're not supported in PHP 7.x

Guest
This topic is now closed to further replies.
×
×
  • Create New...