Yesterday to toss a day, or did not fix, quickly collapsed ... Ask the great God to bring me ...
Reply to discussion (solution)
Find a solution. Obviously very simple problem, Baidu a lot of people used to solve, I do not do
The MySQL extension is deprecated and will be removed in the future. Replace with Mysqli or PDO.
Be sure to use MySQL to block deprecated hints
Modify the php.ini file
; error_reporting = E_all modified to:
error_reporting = E_all &~e_notice &~e_deprecated
Deprecated Out of date
Error_reporting (e_all ^ e_notice ^ e_deprecated); $link = mysql_connect (' localhost ', ' root ', ' empireofanngles ');
The MySQL extension is deprecated and will be removed in the future. Replace with Mysqli or PDO.
Be sure to use MySQL to block deprecated hints
Modify the php.ini file
; error_reporting = E_all modified to:
error_reporting = E_all &~e_notice &~e_deprecated
But I also opened mysqli and Pho, ah, why still wrong, if you want to use mysqli and pho is not to remove the front semicolon?
Extension_dir = "D:/server/php/ext" The path of this place must be correct to support MySQL
Extension_dir = "D:/server/php/ext" The path to this place (this is the php.ini configuration file) must be correct to support MySQL
Extension_dir = "D:/server/php/ext" The path of this place must be correct to support MySQL
Can make sure it's right.
But I opened mysqli and pho, too.
The error is the MySQL extension, what is the relationship with Mysqli and PDO?
Do you want to use mysqli and pho to remove the preceding semicolon?
Is
Quote:
The error is the MySQL extension, what is the relationship with Mysqli and PDO?
Then how to detect mysqli and PHP connection, I put the code of MySQL replaced Mysqli,php.ini mysqli is also open, or error
The changed code and error messages are posted.
Is
Come on! Thank you, and finally know where the mistake is.