i want 2 create a drop-down list. when the user selects a item from it & clicks the 'go' button, it takes him to another page. i know how 2 make this with javascript. but for maximum cross browser compatability, i want 2 use php... also please do not tell me to 'echo' html using the meta character redirector... if u know any php function which redirects, it would be good. tnx guys...
try to send the headerinformation of the file to display
Just to clarify:
header("Location: page1.htm");
will redirect to a page, which you could use in conjunction with a switch, or if-elseif statement. Note that you can't send any output to the browser before this header function.