Re: a menu item from a database, linked to a list from a another table
| From: | chip dot wiegand at simrad dot com | Date: | Thu, 14 Nov 2002 15:17:51 +0000 |
| Subject: | Re: a menu item from a database, linked to a list from a another table | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-23336@lists.php.net to get a copy of this message | ||
Jason Wong <php-db@gremlins.biz> wrote on 11/13/2002 10:46:32 PM:
> On Thursday 14 November 2002 07:32, chip.wiegand@simrad.com wrote:
> > Is this even possible? I have a menu that is generated from a table.
> What is your menu -- a set of <a> tags? or a selector box? I suspect you
mean
> the latter ...
Not a list box, but a menu of about 15 category titles, all shown on the
page in
a list, click on category get the category items listed. Both the category
titles
and the individual items will come from a database.
I am trying this to make a faq's page - list the faq categories, click on
the
category and get the list of faq's. The first part is easy, the second part
is
easy, both seperately.
I am wondering if I can make the first part (title) be a link to select the
items
for the category from a database. I've seen this done before, but the app I
was
looking at had so many include files referencing other include files that
getting
it all straight was near impossible.
--
Chip
> > Typically, the menu items are links
> > to html pages. I would like to have the link bring up a list of items
from
> > another table in the database,
> > not an html page. So I guess this would be a select statement linked
from a
> > select statement?
> > Is this even possible?
> Yes, google -> "dynamic linked listbox php".
> --
> Jason Wong -> Gremlins Associates -> www.gremlins.biz
> Open Source Software Systems Integrators
> * Web Design & Hosting * Internet & Intranet Applications Development *
>
> /*
> The early bird who catches the worm works for someone who comes in late
> and owns the worm farm.
> -- Travis McGee
> */
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php