특정 값(클래스명)이 있다면 건너뛰기 if문?? 채택완료
-----------------------------------------
.
.
.
.
-----------------------------------------
위에서
foreach ($html->find('td[class=a]') as $input) { echo $input -> plaintext; } foreach ($html->find('td[class=a]') as $input) { if(!$input->find("div[class='auto']")->size()==0){
echo $input -> plaintext;
} }
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
답변
1개