Home > Article > Backend Development > What should I do if php does not execute the following code?
php does not execute the following code because "include_once" in php contains a file with a syntax error. The solution is to find the source of the error, such as modifying it to the new MySQLi syntax.
Recommended: "PHP Video Tutorial"
include_once in php contains a file, but the following is not executed Code?
Because there is a syntax error in the file included in include_once, I cannot continue to execute the code. My reason is that the new version of MySQLi is used for database connection, but the query still uses the old version of Mysql, and MySQLi and Mysql are not compatible, so I changed it to The new MySQLi syntax would be nice.
The above is the detailed content of What should I do if php does not execute the following code?. For more information, please follow other related articles on the PHP Chinese website!