How to solve the garbled problem of php query sql

藏色散人
Release: 2023-03-14 12:42:01
Original
1879 people have browsed it

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!

Related labels:
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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!