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