Questions about clicking the registration page in php
Source: Internet
Author: User
The question of clicking the registration page jump in php is that there are two submit buttons, one login, one registration, and the other two buttons can jump to different pages. how can this be achieved ?? & Lt ;? Php/* & nbsp; * Createdon2012-1-17 & nbsp; * To php click registration page jump problem
There are two submit-type buttons, one login, one registration, and two buttons respectively to jump to different pages. how can this be achieved ??
/*
* Created on 2012-1-17
*
* To change the template for this generated file go
* 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 );
}
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service