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() . &">

首页 >后端开发 >php教程 >php-GridView显示PHP从数据库中查询获取的信息,英文显示正常,中文显示"??“

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

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB原创
2016-06-02 11:35:011056浏览

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>
声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn