Home  >  Article  >  Backend Development  >  What should I do if php does not execute the following code?

What should I do if php does not execute the following code?

藏色散人
藏色散人Original
2020-11-17 09:49:003110browse

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.

What should I do if php does not execute the following code?

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn