read stdclass object php code example Example: get data from stdclass object php $var = $this->db->get_where();