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

藏色散人
Release: 2023-03-07 16:18:02
Original
3102 people have browsed it

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!

Related labels:
php
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template