result = $result; if ($result == false) trigger_error('Uncovered an error in your SQL query script: "' . $this->error() . &"/> result = $result; if ($result == false) trigger_error('Uncovered an error in your SQL query script: "' . $this->error() . &">

Home >Backend Development >PHP Tutorial >php-GridView显示PHP从数据库中查询获取的信息,英文显示正常,中文显示"??“

php-GridView显示PHP从数据库中查询获取的信息,英文显示正常,中文显示"??“

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-02 11:35:011066browse

phpgridview

public function query($query)
{
$result = mysql_query($query, $this->link)or die("失败");

<code>    $this->result = $result;    if ($result == false)        trigger_error('Uncovered an error in your SQL query script: "' . $this->error() . '"');    return $this->result;}</code>
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