Re: recursion
| From: | JJeffman | Date: | Tue, 30 Jan 2001 21:11:14 +0000 |
| Subject: | Re: recursion | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-6266@lists.php.net to get a copy of this message | ||
I think it might be $this->deptree ! Every time you create an object the "$"
is replaced by "$this->" .
HTH.
Jayme.
http://www.conex.com.br/jjeffman
-----Mensagem Original-----
De: <php3@developersdesk.com>
Para: Andrew <kozak@ps.kiev.ua>; <php-db@lists.php.net>
Enviada em: terça-feira, 30 de janeiro de 2001 07:24
Assunto: Re: [PHP-DB] recursion
> Addressed to: "Andrew" <kozak@ps.kiev.ua>
> php-db@lists.php.net
>
> ** Reply to note from "Andrew" <kozak@ps.kiev.ua> Tue, 30 Jan 2001
10:17:40 +0200
> >
> > Hi, Does PHP4 support recursive function ivocation? It seemed tome
> > that it does not, because the code below doesn't work properly.
>
>
> Yes, PHP does support recursion. I don't understand what you are
> trying to do. How about including an example of what comes in $arr
> when the function is called, what $this->$deptree has to do with
> anything and what you want the output to look like.
>