Files
MermsEmrWeb/providerwww/application/models/Reminder_model.php
T
2021-02-28 13:31:41 -05:00

19 lines
517 B
PHP

<?php
class Reminder_model extends CI_Model {
function __construct() {
}
public function getPatientReminderList($practice_id, $patient_id) {
$mysql = "SELECT description, start_date,end_date FROM members_reminders WHERE member_id =1 AND practice_id = 0 AND status = 1 ORDER BY added DESC LIMIT 5";
$query = $this->db->query($mysql);
$num = $query->num_rows();
$data["patient_reminder_list"] = $query->result();
return $data;
}
}