当前位置:Gxlcms > PHP教程 > undefinedfunctiondb_fetch_array(),该怎么解决

undefinedfunctiondb_fetch_array(),该怎么解决

时间:2021-07-01 10:21:17 帮助过:4人阅读

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

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

人气教程排行