Home > Backend Development > PHP Tutorial > php点击注册页面跳转的有关问题

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

WBOY
Release: 2016-06-13 10:08:05
Original
1097 people have browsed it

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);
}


?>




 
 
 
 
 
用户名:
密  码:



          

 




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


--->

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template