[PHP] Re: select-option link list

2005-01-19 Thread Ricky Morley
Like this. Here's the html code. I'm sure you can convert to the appropriate PHP html body form select size=1 name=site onChange=window.location=this.value option value=http://www.google.com;Google/option option value=http://www.yahoo.com;Yahoo/option option

Re: [PHP] Re: select-option link list

2005-01-19 Thread Jochem Maas
Ricky Morley wrote: Like this. Here's the html code. I'm sure you can convert to the appropriate PHP this is totally not PHP but... html body form select size=1 name=site onChange=window.location=this.value shouldn't that be something like: select size=1 name=site

Re: [PHP] Re: select-option link list

2005-01-19 Thread Richard Morley
This should work html body form select size=1 name=site onChange=if(this.value != '')window.location=this.value option value=Please select a site to visit/option option value=http://www.google.com;Google/option option value=http://www.yahoo.com;Yahoo/option option