Break in Smarty's / Dwoo's foreach

mowRepevepe

New Member
About \[code\]break\[/code\]\[code\]foreach ( $data as $k => $v ) { if ( $k == 4 ) { break; }}\[/code\]every one knows.Is there something similar in \[code\]Smarty\[/code\]'s or \[code\]Dwoo\[/code\]'s \[code\]{foreach}\[/code\] function ?
 
Back
Top