public function delete() { $sql = "DELETE FROM " . static::$table . " WHERE id=:id"; $db = new ODB(); $db->execute($sql, [':id' => $this->id]); }
public function testDB() { $mailer = new ODB('as_mailer'); $a = $mailer->get('*'); print_r($a); }