Why does this simple function not work in my code?
Code:
class queryFactoryResult {
...
  function FetchObject() {
    return @mysqli_fetch_object($this->resource);
  }
...
Usage:
Code:
    $the_query = $db->Execute($query);
... 
    if ($the_query->RecordCount() > 0) {
      $atom = $the_query->FetchObject();
      $orders_id[$loop] = $atom->order_id;
...
      $loop++;
...