php中如何實現按鈕跳轉, 請舉一個例,、
多謝謝了

解决方案 »

  1.   

    <script type="text/javascript">
    <!--
    function MM_goToURL() { //v3.0
      var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
      for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
    }
    //-->
    </script><input name="Submit" type="button" onclick="MM_goToURL('parent','http://www.qq.com');return document.MM_returnValue" value="跳转" />
      

  2.   


    form.php跳到form1.php<form action='form1.php' method='post' >
    <input type="submit" value='logo'/>
    </form>form1.php
    echo "hello .world";