Posted by wichr on December 13, 2012 at 1:22pm
Hi,
in my Rule i add Action loop (i assume it's function "foreach") and i added custom php function to break it (i want to exit loop after specified loop number).
<?php
$i=1;
if( $i==1){
break 1;
}
?>function.
This function is breaking my loop (nice) but is also breaking my site. What are the other possibilities to exit loop?
Comments
Read this
Read this
-----------------
http://worchestra.com