Home > Backend Development > PHP Tutorial > Notice:Array to string conversion,该如何解决

Notice:Array to string conversion,该如何解决

WBOY
Release: 2016-06-13 11:44:23
Original
1152 people have browsed it

Notice:Array to string conversion

本帖最后由 xusheng890331 于 2014-01-06 13:13:27 编辑 网站中出现下面的错误想请教下怎么解决呢?

A PHP Error was encountered
Severity: Notice
Message: Array to string conversion
Filename: controllers/page.php
Line Number: 162

<br />function showPageV($id,$vnum)<br />	{<br />		$this->pageModel->id=$id;<br />		$this->pageModel->get_entries(); <br />        $this->smarty->assign($vnum,$this->pageModel->query->result_array());<br />        $this->smarty->assign('mainid','theDiv'.$this->p);<br />	}	
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