prepareStatement($query); $stmt->bind_param('si', $this->data['user_uuid'], time()); $this->executeStatement($stmt); $stmt->close(); $this->apiOutput(200, ['success' => 'Stomp added.']); } public function deleteStomp() { $query = "DELETE FROM office_stompjes WHERE stomp_uuid = ?"; $stmt = $this->prepareStatement($query); $stmt->bind_param('s', $this->data['stomp_uuid']); $this->executeStatement($stmt); $stmt->close(); $this->apiOutput(200, ['success' => 'Stomp removed.']); } }