heliomember Posted August 27, 2018 Share Posted August 27, 2018 When I try to access my database, it return the message: Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home1/dtt22299/public_html/online_trading/processemail.php on line 10 I do not understand what it mean I use {$con = mysql_connect("localhost","dtt22299_bill","dtt22299bill"); in my processemai.php Are there anything wrong? Quote Link to comment Share on other sites More sharing options...
wolstech Posted August 27, 2018 Share Posted August 27, 2018 It means the function mysql_connect is obsolete and shouldn't be used. All of the mysql_ functions are obsolete. They work but throw warnings in 5.5 and 5.6, and they don't even exist in 7.0 and up. You should be using mysqli_ functions instead. Quote Link to comment Share on other sites More sharing options...
heliomember Posted August 27, 2018 Author Share Posted August 27, 2018 I use mysqli_ functions The return message is Fatal error: Call to undefined function mysqli_functions() in /home1/dtt22299/public_html/online_trading/processemail.php on line 10 Quote Link to comment Share on other sites More sharing options...
wolstech Posted August 27, 2018 Share Posted August 27, 2018 I meant functions starting with mysqli_ , see here: https://www.phpknowhow.com/mysql/mysqli-procedural-functions/ Quote Link to comment Share on other sites More sharing options...
armano Posted September 19, 2019 Share Posted September 19, 2019 myssl_commect() will not work because it's outdated.Instead of mysql_connect you can use mysqli_connect().Please read more: php mysqli functions Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.