Home > Backend Development > PHP Tutorial > undefined function db_fetch_array(),该怎么解决

undefined function db_fetch_array(),该怎么解决

WBOY
Release: 2016-06-13 13:30:02
Original
1151 people have browsed it

undefined function db_fetch_array()
$query=db_query("INSERT INTO {messages} (body,created) VALUES ('$_POST[message]',now())");
if($query==true)
{
$sql=db_query("SELECT * FROM {messages} ORDER BY mid DESC");
$result=db_fetch_array($sql);
$block['content']=unserialize($result['body']);
}

------解决方案--------------------
你这是自定义的函数
------解决方案--------------------
你确定有这个函数?

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