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

undefined function db_fetch_array(),该怎么解决

WBOY
WBOYOriginal
2016-06-13 13:30:021111browse

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']);
}

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

Statement:
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