$op=$HTTP_POST_VARS['tipo']; if(strcmp ( $op,"tra")==0) { header("location:[url]http://www.yahoo.com[/url]"); } else { header("location:[url]http://www.forosdelweb.com[/url]"); }