Re: Updating dropdown list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/11/07, Daniel Brown <parasane@xxxxxxxxx> wrote:
On 6/11/07, Ashley M. Kirchner <ashley@xxxxxxxxxx> wrote:
>
>     I have a page containing two drop down lists.  I need to figure out
> a way to populate/update the second drop down list based on a selection
> of the first one (the data for both drop down lists is in a MySQL
> database).  Is this something I need to do in JavaScript?  Or can I
> somehow trick PHP to do this?
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

   Without refreshing the page would require JavaScript, but if it
doesn't matter if the page is refreshed, you could use PHP.
--
Daniel P. Brown

I think he means something like on the nvidia driver download page [1]
This is only possible with javascript, you could take a look at the
page I gave to see how they did it ;)
But Javascript != PHP, so if this is what you want, you're on the wrong list...

Tijnema

[1] http://www.nvidia.com/content/drivers/drivers.asp

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux