oa提示错误Fatal error:Call to undefined function tdoa_ver_info() in D:\MYOA\webroot\inc\itask\itask2.php on line 27
来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/20 06:26:24
oa提示错误Fatal error:Call to undefined function tdoa_ver_info() in D:\MYOA\webroot\inc\itask\itask2.php on line 27
oa提示错误
Fatal error:Call to undefined function tdoa_ver_info() in D:\MYOA\webroot\inc\itask\itask2.php on line 27
oa提示错误Fatal error:Call to undefined function tdoa_ver_info() in D:\MYOA\webroot\inc\itask\itask2.php on line 27
在itask2.php中加入以下代码即可
function tdoa_ver_info()
{
global $connection,$VERSION_INFO,$VERSION_EA,$TD_SN_INFO,$TD_CODE_INFO,$TD_UNIT_INFO;
$query = "select * from VERSION";
$cursor=exequery($connection,$query);
if($ROW=mysql_fetch_array($cursor))
{
$VERSION_INFO=$ROW["VER"];
$VERSION_EA=$ROW["EA"];
$TD_SN_INFO=$ROW["SN"];
$TD_CODE_INFO=$ROW["CODE"];
if($TD_SN_INFO == ""&&$TD_CODE_INFO != "")
$query = "update VERSION set CODE=''";
exequery($connection,$query);
}
$query = "SELECT * from UNIT";
$cursor= exequery($connection,$query);
if($ROW=mysql_fetch_array($cursor))
$TD_UNIT_INFO=$ROW["UNIT_NAME"];
}