By "pop-up" do you really mean "pop-up" or rather drop-down boxes?

Have a look at the PEAR Quickform class and its "hierselect" form element
(hierarchical dropdown boxes)
http://pear.php.net/manual/en/package.html.html-quickform.tutorial.php

HTH
Ignatius
_________________________
----- Original Message -----
From: "Micah Stevens" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 06, 2004 02:33
Subject: Re: [PHP-DB] Associated popup menu (php/mysql)


>
> Javascript is client side programming, PHP is server side and unable to
> control actions and make decisions on what's happening in the browser
except
> in a 'third person' manner.
>
> Simply put, you can't do this with PHP.
>
>
>
>
> On Thu February 5 2004 5:21 pm, alb_shop wrote:
> > Hello all,
> >
> > I've been searching for hours and cannot find the answer or sample in in
> > any forum.
> >
> > What is the best method (any sample or help would be appreciated), to
> > associate popup menus in a form. Choosing the first popup menu (Main
> > categorie) should provide to me the results for the second popup menu
> > (subcategory).
> >
> > Ie : Countries --> states
> >
> > I know that javascript can do this sort of things, but I would like to
use
> > only php. Is that possible ?
> >
> > I have two tables in mysql: Countries & states that can be associated by
> > id_country.
> >
> > Thank you
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to