这段代码有错吗?------解决方案----------------">
时间:2021-07-01 10:21:17 帮助过:28人阅读
输出所有的查询结果
include($_SERVER['DOCUMENT_ROOT']."/auth.php");//调用数据库连接文件
$query3 = "select count(*) from (select * from (select * from bydms_dutyapp where dutyapp_approverid='$MY_SYSNUMBER' order by dutyapp_datetime desc ) as bydms_tempa left join bydms_project on dutyapp_projectid=project_id ) as bydms_tempb where dutyapp_result='审批中' ";
$result3 = mysql_query($query3);
while ($row = mysql_fetch_array($result3)) { //
$query3 = "select count(*) from (select * from (select * from bydms_dutyapp where dutyapp_approverid='$MY_SYSNUMBER' order by dutyapp_datetime desc ) as bydms_tempa left join bydms_project on dutyapp_projectid=project_id ) as bydms_tempb where dutyapp_result='审批中' ";