Reminder category
This commit is contained in:
@@ -17,7 +17,7 @@ class myfitUserReminders extends Model
|
||||
|
||||
public function readReminders($in)
|
||||
{
|
||||
$reminder_category =[];
|
||||
$reminder_category = $this->reminderCategory(); // [];
|
||||
$sqlQ =
|
||||
'SELECT * FROM members_reminders';
|
||||
|
||||
@@ -34,5 +34,12 @@ class myfitUserReminders extends Model
|
||||
|
||||
}
|
||||
|
||||
public function reminderCategory(){
|
||||
|
||||
$sqlQ ="SELECT uuid,category,code FROM reminder_category ORDER BY category";
|
||||
$query = $this->db->query($sqlQ);
|
||||
return $query->getResultArray();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user