Examples



Code

for ($i=0; $i<4; $i++){
$linenumber = $i+1;
$cells['forloop'] = $cells['forloop'].'Line number '.$linenumber.'<br>';
}



Result

Template cell [:forloop:] was replaced by following


Line number 1
Line number 2
Line number 3
Line number 4
Line number 5