Re: [PHP] Updating dropdown list

2007-06-16 Thread tedd
At 12:38 PM -0600 6/11/07, Ashley M. Kirchner 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 n

Re: [PHP] Updating dropdown list

2007-06-16 Thread tedd
At 8:57 PM +0200 6/11/07, Tijnema wrote: On 6/11/07, Ashley M. Kirchner <[EMAIL PROTECTED]> wrote: Tijnema wrote: But Javascript != PHP, so if this is what you want, you're on the wrong list... Ik weet dat meneer. But I also hate JavaScript. So if I can avoid it and use PHP, then I will

Re: [PHP] Updating dropdown list

2007-06-16 Thread tedd
At 12:55 PM -0600 6/11/07, Ashley M. Kirchner wrote: But I also hate JavaScript. So if I can avoid it and use PHP, then I will. Hence me asking here first to see if I can get it accomplished with PHP. :) Don't hate it -- Javascript is just another cool language. You can do some amazing thi

Re: [PHP] Updating dropdown list

2007-06-11 Thread Ashley M. Kirchner
Tijnema wrote: 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://ww

Re: [PHP] Updating dropdown list

2007-06-11 Thread Philip Thompson
On Jun 11, 2007, at 1:52 PM, Jay Blanchard wrote: [snip] Without refreshing the page would require JavaScript, but if it doesn't matter if the page is refreshed, you could use PHP. [/snip] Or a combination, using AJAX. Or you could use CSS and JS. Use PHP to populate all your lists (may

Re: [PHP] Updating dropdown list

2007-06-11 Thread Paul Novitski
At 6/11/2007 11:38 AM, Ashley M. Kirchner 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

Re: [PHP] Updating dropdown list

2007-06-11 Thread Tijnema
On 6/11/07, Ashley M. Kirchner <[EMAIL PROTECTED]> wrote: Tijnema wrote: > But Javascript != PHP, so if this is what you want, you're on the > wrong list... Ik weet dat meneer. But I also hate JavaScript. So if I can avoid it and use PHP, then I will. Hence me asking here first to see if I

Re: [PHP] Updating dropdown list

2007-06-11 Thread Ashley M. Kirchner
Tijnema wrote: But Javascript != PHP, so if this is what you want, you're on the wrong list... Ik weet dat meneer. But I also hate JavaScript. So if I can avoid it and use PHP, then I will. Hence me asking here first to see if I can get it accomplished with PHP. :) -- PHP General Maili

Re: [PHP] Updating dropdown list

2007-06-11 Thread Tijnema
On 6/11/07, Daniel Brown <[EMAIL PROTECTED]> wrote: On 6/11/07, Ashley M. Kirchner <[EMAIL PROTECTED]> 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

RE: [PHP] Updating dropdown list

2007-06-11 Thread Jay Blanchard
[snip] Without refreshing the page would require JavaScript, but if it doesn't matter if the page is refreshed, you could use PHP. [/snip] Or a combination, using AJAX. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Updating dropdown list

2007-06-11 Thread Jim Lucas
Ashley M. Kirchner 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?

Re: [PHP] Updating dropdown list

2007-06-11 Thread Daniel Brown
On 6/11/07, Ashley M. Kirchner <[EMAIL PROTECTED]> 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 somethin