Method: fetchAll()

Returns an array containing the entire result set from the last executed query.

Returns:

ARRAY

Example:

$results = $this->obj_db->fetchAll();

Example 2:

foreach($this->obj_db->fetchAll() as $item){
    print_r($item);
}

Contact Us

Address: 22a Fishergate York, YO10 4AB · Tel: 01904 636677 · Email: info@dotadmin.com