diff --git a/src/WPDO.php b/src/WPDO.php index 0eee0d9..09d8187 100644 --- a/src/WPDO.php +++ b/src/WPDO.php @@ -84,6 +84,12 @@ class WPDO { } + public function get_result() { + + return $this->sth->fetchAll(); + + } + public function select($fields, $where_sql, $values) { $fields=$this->check_fields($fields);