added new preorderiframe
This commit is contained in:
@@ -184,6 +184,23 @@ class FronkDB {
|
||||
return false;
|
||||
}
|
||||
|
||||
public function fetch_all_assoc($_res = false) {
|
||||
$array = array();
|
||||
$res = $this->result;
|
||||
|
||||
if($_res)
|
||||
$res = $_res;
|
||||
|
||||
if(!$res)
|
||||
return false;
|
||||
|
||||
while($row = mysqli_fetch_assoc($res)) {
|
||||
$array[] = $row;
|
||||
}
|
||||
|
||||
return $array;
|
||||
}
|
||||
|
||||
public function insert($_table, $_data, $_forcestr = array(), $options = array()) {
|
||||
if(empty($_table)) {
|
||||
$this->lastError = "Error constructing INSERT: tablename ommited";
|
||||
|
||||
Reference in New Issue
Block a user