日期:2014-05-16  浏览次数:21473 次

Call to undefined function
写了个程序,出现这个错误  
Call   to   undefined   function:   db_fetch_array()   in   e:\php\comu\board7\template\header\comu\login-new.php   on   line   3  

$TOT_SQL   =   "SELECT   count(*)   FROM   kimsmall7_paper   WHERE  
PP_TOID= ' ".$v_LogId. " ' ";  
$TOT_NUM   =   db_fetch_array(db_query($TOT_SQL,$DB_CONNECT));  
$BOX_NUM1_02   =   db_fetch_array(db_query($TOT_SQL. "   AND   PP_BOX=0  
AND   PP_READ=0 ",$DB_CONNECT));  

这是第2~第4行的程序,  
我的配置环境是A:1.3.33   P:4.0.26   M:4.4.1

------解决方案--------------------
db_fetch_array() 要么没定义,要么没包含(定义此函数的文件),要么没加载
(包含此函数的动态库)