As a matter of fact you can create dynamic comboboxes, but not with
soley PHP. Because PHP is server-side, it has no idea what the user has
selected on a form, etc. JavaScript, on the other hand, is client-side, so
it keeps track of what the user is doing.
I've done this very thing for a leasing company. I used PHP and MySQL
to create a series of arrays in Javascript. When the user clicked on a
value in the first combobox I used onClick to call a function which loaded
information into the second box.
----- Original Message -----
From: "Alexander Deruwe" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 09, 2001 12:17 PM
Subject: [PHP] HTML/PHP's static state problem.
> Hey all,
>
> I've run into a little problem:
> Take, for example, combobox A and combobox B. Suppose B's <option>s depend
on what is
> selected in A..
> Is it possible to update B according to what is selected in A?
>
> Thanks,
>
> Alexander 'ad' Deruwe
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]