我需要打破循环,如果标题为空,然后继续循环阵列打破然后继续循环
这个东西
for($i=0;$i<count($out[0]);$i++){
$title = "$z->extract('<title>','</title>',$data);"
if (empty($title)) {
break; // Don't continue the sentences below and continuw the next value from the loop
}
//more sentences php
//more sentences php
//more sentences php
//more sentences php
}
感谢等。