heliomember Posted August 27, 2018 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?
wolstech Posted August 27, 2018 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.
heliomember Posted August 27, 2018 Author 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
wolstech Posted August 27, 2018 Posted August 27, 2018 I meant functions starting with mysqli_ , see here: https://www.phpknowhow.com/mysql/mysqli-procedural-functions/
armano Posted September 19, 2019 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now