Break then continue the loop

ta1yn

New Member
I need to break the loop if the title is empty Then continue the loop arraySomething like this\[code\]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}\[/code\]thanks.
 
Back
Top