Added get _result method
This commit is contained in:
parent
43dc5639b3
commit
62e755d1f1
1 changed files with 6 additions and 0 deletions
|
|
@ -84,6 +84,12 @@ class WPDO {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function get_result() {
|
||||||
|
|
||||||
|
return $this->sth->fetchAll();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
public function select($fields, $where_sql, $values) {
|
public function select($fields, $where_sql, $values) {
|
||||||
|
|
||||||
$fields=$this->check_fields($fields);
|
$fields=$this->check_fields($fields);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue