1.php
Copy CodeThe code is as follows:
2.php
Copy CodeThe code is as follows:
3.php
Copy CodeThe code is as follows:
4.php
Copy CodeThe code is as follows:
$base 1=$_request[' base1 '];
$base 2=$_request[' Base2 '];
$prcname =$_request[' Prcname '];
$price =$_request[' price '];
$prcXH =$_request[' prcxh '];
$other 1=$_request[' Other1 '];
$other 2=$_request[' Other2 '];
$sql 1= "INSERT INTO [base_table] (BASE1,BASE2) VALUES (' {$base 1} ', ' {$base 2} ')";
$sql 2= "INSERT INTO [prc_table] (PRCNAME,PRICE,PRCXH) VALUES (' {$prcname} ', ' {$price} ', ' {$prcXH} ')";
$sql 3= "INSERT INTO [other_table] (Other1,other2) VALUES (' {$other 1} ', ' {$other 2} ')";
Query ($sql 1);
Query ($sql 2);
Query ($sql 3);
echo "Write complete";
?>
http://www.bkjia.com/PHPjc/325956.html www.bkjia.com true http://www.bkjia.com/PHPjc/325956.html techarticle The 1.php Copy code code is as follows: Form Name=form1 id=form1 method=post action=2.php basic information 1:input type=text NAME=BASE1/basic information 2:input type =text name=base2/input ty ...