Home  >  Article  >  Backend Development  >  How to solve the garbled problem of php query sql

How to solve the garbled problem of php query sql

藏色散人
藏色散人Original
2021-12-13 10:45:101913browse

Solution to php query garbled SQL: 1. Open the corresponding code file; 2. Add a space to the "return" string in the eval function.

How to solve the garbled problem of php query sql

#The operating environment of this article: Windows 7 system, PHP version 7.4, Dell G3 computer.

How to solve the php query sql garbled problem?

Are the PHP SQL query results garbled on the page?

There is such a problem on the system web page today: the data in the type column on the left side of the picture below is not displayed

There is data for printing SQL queries

The reason is:————》

The character 'return' in the eval function The string must have spaces. If has no spaces, this statement is wrong. Remember! ! !

Recommended learning: "PHP Video Tutorial"

The above is the detailed content of How to solve the garbled problem of php query sql. 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