foreach($direct_list as $dl) { print_r($dl); $dl_name = $dl -> name; print_r($dl_name); }
참고 https://archijude.tistory.com/287