Maison  >  Article  >  développement back-end  >  php点击注册页面跳转的有关问题

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

WBOY
WBOYoriginal
2016-06-13 10:08:051028parcourir

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


?>




 
 
 
 
 
用户名:
密  码:



          

 




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


--->

Déclaration:
Le contenu de cet article est volontairement contribué par les internautes et les droits d'auteur appartiennent à l'auteur original. Ce site n'assume aucune responsabilité légale correspondante. Si vous trouvez un contenu suspecté de plagiat ou de contrefaçon, veuillez contacter admin@php.cn