On Wed, May 29, 2002 at 08:35:58AM +0200, Martin Hierling wrote:
> Hi Midgardians,
> 
> have a little problem. 
> tried this:
> 
> ---
> function test($id,$level,$somepara) {
>       echo "$id -> $level <br>";
>       return 0;
>       }

Try return 1 to walk through the whole tree.
If you return 0, it stops walk.

BTW, AFAIR, there was possibility to stop walk in current branch and
go to the next one. Is it still available?

> 
> mgd_walk_topic_tree("test",111,10,&$checked,"TRUE","XXX");
> ---
> 
> and i only get:
> 111 -> 0  with XXX = "" 
> and 
> 112 -> 2 with XXX = SCORE ASC/DESC 
> where 112 is the last subtopic in 111
> 
> and sure there are subtopics. 
> anybody using this funtions? 

--
Regards,
Sergei Dolmatov.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to