[PHP-WIN] array problems

2001-11-30 Thread ChaoticWorks
i have been learning php from a book, but whenever i do array examples i get errors. like if i have multi selectional list box and there are 5 things to select and you select 3, there will be 2 errors and then the results of the 3 will display. i dont think i have the full php installation or s

Re: [PHP-WIN] array problems

2001-09-07 Thread leo g. divinagracia iii
"Svensson, B.A.T." wrote: > > Have you consider to write a recursive > function to explore all the sublevels? > > i was thinking of the same thing. btw, are there dynamic pointers in PHP? cause a binary tree structure would be better for this. btw, watch out for recursive code that goes on

Re: [PHP-WIN] array problems

2001-09-07 Thread Mike Flynn
Hi Andrew, I have done something very similar to this. Pretty identical. I know it may seem complicated, but I think if you take a good look at it this code might help you. It's for managing a dynamic -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTE

RE: [PHP-WIN] array problems

2001-09-07 Thread Svensson, B.A.T.
Have you consider to write a recursive function to explore all the sublevels? >-Original Message- >From: Andrew.Martin [mailto:[EMAIL PROTECTED]] >Sent: Friday, September 07, 2001 11:43 AM >To: [EMAIL PROTECTED] >Subject: [PHP-WIN] array problems > > > &

[PHP-WIN] array problems

2001-09-07 Thread Andrew.Martin
I want to build an array dynamically from a database. I have a structure where there is a top level, under which there can be a sub level and a sub-sub level etc... e.g Top Level 1 id =1 parent id =0 Sub Level 1.1 id =2 paren