echo $DFitem['score_count'] == '' ? '0' : $DFitem['score_count']; ?> </td> <td align="center"> <?php echo $DFcredit['credit']; ?> </td> <td align="center"> <?php echo $DFcredit['lcredit']; ?> </td> </tr> <?php foreach ($org_data as $v) { $item = $tongji->countBItemByOrgId($v['org_no']); $credit = $tongji->countBValidCreditANDLessonCreditByOrg($v['org_no']); ?> <tr> <td align="center"> <?php echo $v['org_name']; ?> </td> <td align="center"> <?php echo $item["stud_count"]; ?> </td> <td align="center"> <?php echo $item["item_count"]; ?> </td> <td align="center"> <?php