Home >Backend Development >PHP Problem >How to solve the garbled problem of php query sql
Solution to php query garbled SQL: 1. Open the corresponding code file; 2. Add a space to the "return" string in the eval function.
#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!