include ("connect.php"); $date_t= date("Y-m-d") ; $sql1="select max(q_date)as max_q from q_num"; $q1=mysql_query($sql1) or die ("error: $sql1"); $row1=mysql_fetch_array($q1); if($row1['max_q']!=$date_t) { $q_appoint='0'; $q_nonappoint='0'; $q_buu='0'; $q_old='0'; } else { //echo $q_appoint=$_REQUEST['q_apponit']; $select ="select * from q_num where q_date='$date_t'"; $q=mysql_query($select) or die ("error : $select"); $row=mysql_fetch_array($q); $q_appoint=$row['q_appoint']; $q_nonappoint=$row['q_nonappoint']; $q_buu=$row['q_buu']; $q_old=$row['q_old']; } ?>
คิวตรวจโรคทั่วไป 103 | |
---|---|
คิวรับบริการคนไข้นัด | คิวรับบริการคนไข้ไม่นัด |
คิวรับบริการบุคลากรมหาวิทยาลัย | คิวรับบริการผู้สูงวัย |