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


Reply With Quote
