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从数据库中查询获取的信息,英文显示正常,中文显示"??“

WBOY
Release: 2016-06-02 11:35:01
Original
1024 people have browsed it

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>
Copy after login
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