Reminder category

This commit is contained in:
2023-02-02 07:48:25 -05:00
parent ad48382a6d
commit a40c18c161
3 changed files with 14 additions and 3 deletions
+8 -1
View File
@@ -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();
}
}