PHP redirection

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Quick Question here that I cannot figure out.  I have a drop down menu
in a form with certain entries like plumbing painting flooring and so
on.  What I can figure out is php html redirection. When i select
someting from that drop down menu i wold like the browser to point to
lets say plumbing.html

So when a suer select plumbing from drop down menu take them to
and so on for all the options

Re: PHP redirection

Assuming the 'value' of each of your options is the page to which you wish
to redirect, you can use this little bit of javascript to make it work...

<SELECT onChange="location = this.options[this.selectedIndex].value;">


Quoted text here. Click to load it

Site Timeline