Re: Updating dropdown list

From: Date: Mon, 11 Jun 2007 18:52:55 +0000
Subject: Re: Updating dropdown list
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-256640@lists.php.net to get a copy of this message
On 6/11/07, Daniel Brown <parasane@gmail.com> wrote:
On 6/11/07, Ashley M. Kirchner <ashley@pcraft.com> 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

« previous php.general (#256640) next »