todo_id = $todo_id; // $this->user_id = $user_id; // $this->task = $task; // $this->description = $description; // $this->priority = $priority; // $this->due_date = $due_date; // $this->category = $category; // $this->status = $status; // $this->created_at = $created_at; // $this->update_at = $update_at; // $this->completed_at = $completed_at; // $this->is_recurring = $is_recurring; // $this->recurrence_rule = $recurrence_rule; // $this->reminder_at = $reminder_at; // } // } function change_status($todo_id, $status) { exec_stmt('UPDATE todos SET status = ? WHERE todo_id = ?', 'si', $status, $todo_id); }