HelioHost Posted January 13, 2018 Posted January 13, 2018 Username: nasserot, Server: Johnny, Main domain: painel.heliohost.org Ola, amigo tenho tido um problema e nao sei como resolver, pois aqui no meucomputador quando eu estava desenvolvendo esse sistema nao apareceu nuncaeste erro, quando coloquei ele no cPanel comecou isso, dominio:painel.heliohost.orgMensagem: *Deprecated*: mysql_connect(): The mysql extension is deprecatedand 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 TubaraoTelefone:*(48) 99904-7960 * Livrede virus. www.avast.com.
Luigi123 Posted January 13, 2018 Posted January 13, 2018 This user is saying: "Hello, my friend, I've had a problem and I do not know how to solve it, because here in mycomputer when I was developing this system never appearedthis error, when i put it in cPanel started it, domain:panel.heliohost.orgMessage: * Deprecated *: mysql_connect (): The mysql extension is deprecatedand 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 TubaraoTelephone:* (48) 99904-7960 *Freeof 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
Recommended Posts