<form action="normal.php"> ... <input type="button" value="Avanzadas" onclick="this.form.action='avanzada.php';this.submit()" /> </form>