Hi there.

You would need to use JavaScript for this, specifically an onChange( ) event
for
the select field(s).
Your JavaScript should basically reload the page once an option has been
selected from the first
select field, passing through a variable containing the value of the option
which has just been selected, you can then use php to retrieve the
appropriate records for the second
select field when the page is reloaded.

Cheers

Scott
----- Original Message -----
From: "Christian Ista" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 16, 2002 1:53 PM
Subject: [PHP] Drop down reload


> Hello,
>
> Could you tell me if it possible to reload the current page when I
> select a value in a drop down ?
>
> On a page, I have 2 drop down, the content on the first one come from
> the database. The content of the second one too (from database) but
> depend of the first drop down value.
>
> An idea to do that ?
>
> Bye
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


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

Reply via email to