Hello,
I'm wondering if it possible to make a function which will do the same thing like internal php function "foreach", e.g.:
function definition:
function my_foreach ($var, $new_var) {
...
}
executing this function:
my_foreach($var, $new_var) {
?>
<div>teste</div>
<?
}
Any suggestions ??