note 30855 deleted from functions by tix
| From: | tix@php.net | Date: | Tue, 01 Apr 2003 11:35:10 +0000 |
| Subject: | note 30855 deleted from functions by tix | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-46064@lists.php.net to get a copy of this message | ||
I have one big problem I need do something like this and I can't:
<?
$pole[0]=1;
$pole[1]=2;
$pole[2]=3;
$pole[3]=4;
$a=0;
function rekurze($b){
if ($a<3){
$a=$a+1;
rekurze($pole[a]); //HERE IS THE PROBLEM
}
echo $b;
echo "<BR>";
}
rekurze ($pole[0]);
?>
I need to call function inside same function . Can I do it? How?