PHP8.1.21版本已发布
vue8.1.21版本已发布
jquery8.1.21版本已发布

php点击注册页面跳转的有关问题

原创
2016-06-13 10:08:05 830浏览

php点击注册页面跳转的问题
就是有两个submit型的按钮,一个登录,一个注册,两个按钮分别可以跳转到不同的页面,怎么实现呢??


/*
 * Created on 2012-1-17
 *
 * To change the template for this generated file go to
 * Window - Preferences - PHPeclipse - PHP - Code Templates
 */
error_reporting(0);

 include("dblink.php");
if ($_POST["submit1"])
{
$us="insert into userlist(user,psw)values('$_POST[user]','$_POST[psw]')";
mysql_query($us);
}


?>




 
 
 
 
 
用户名:
密  码:



          

 




------解决方案--------------------


--->

声明:本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn核实处理。