Heim >Backend-Entwicklung >PHP-Tutorial >undefined function db_fetch_array(),该怎么解决
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']);
}
------解决方案--------------------
你这是自定义的函数
------解决方案--------------------
你确定有这个函数?