SELECT patients_data.*, patients_data_wage.* FROM patients_data
LEFT JOIN patients_data_wage ON patients_data.datemeet = patients_data_wage.datemeet
where patients_data_wage.datemeet='$date'
Link ส่งค่า<a href='patients_detail.php?date=<?=$f_room['datemeet']?>' target='_blank' >
Tag : PHP, MySQL
Date :
2016-04-26 10:27:19
By :
baby137
View :
698
Reply :
2
No. 1
Guest
Code
SELECT patients_data.*, patients_data_wage.* FROM patients_data
LEFT JOIN patients_data_wage ON patients_data.datemeet = patients_data_wage.datemeet
where patients_data_wage.datemeet='$date' and patients_data_wage.code=' '