Reply to Re: recursive function calling by reference
Posted by Janwillem Borleffs on 04/05/06 13:31
Stephanie Le Gall wrote:
> I have the error message but the function seems to work anyway !
>
>
> Is there any way else to do that ? ... or to not have the message ?
>
Change the recursive call to:
function remplir_tableau($id, &$arrayOfAllElem)
{
.....
remplir_tableau($row[0], $arrayOfAllElem);
}
}