Re: recursive multichoice menus
| From: | Philip Hallstrom | Date: | Sat, 06 Jan 2001 20:50:26 +0000 |
| Subject: | Re: recursive multichoice menus | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-33049@lists.php.net to get a copy of this message | ||
I think this will do what you want, or at least get you started in the
right direction.
http://stuff.adhesivemedia.com/php/heirarchial-sorting.php
-philip
In article <v04011704b67c3ad2d627@[192.168.4.5]> you write:
>The phphoo tutorial (and similar items) has a nice schema for managing a
>Parent/Child-Category/Subcategory database. Has anyone ever built a
>recursive function to generate a multichoice menu for such a thing?
>
>It would look something like this in a form:
>
><select... >
> <option>Parent1: Child1
> <option>Parent1: Child2
> <option>Parent2: Child1
> <option>Parent3: Child1
> ...etc.
></select>
>
>The challenge here would be (efficiently) rendering the Parent as text
>rather than its associative ID. Could someone help with a sample?
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
>For additional commands, e-mail: php-general-help@lists.php.net
>To contact the list administrators, e-mail: php-list-admin@lists.php.net
>