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() . &">
Heim >Backend-Entwicklung >PHP-Tutorial >php-GridView显示PHP从数据库中查询获取的信息,英文显示正常,中文显示"??“
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>