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