Sometimes, when submitting the publishing information page, you need to divide many complex information submission pages into multiple steps for submission. Below is the basic method to implement this function 1.php
The Code is as follows:
2. php
The Code is as follows:
3. php
The Code is as follows:
4. php
The Code is as follows:
$ Base1 = $ _ REQUEST ['base1'];
$ Base2 = $ _ REQUEST ['base2'];
$ Prcname = $ _ REQUEST ['prcname'];
$ Price = $ _ REQUEST ['price'];
$ PrcXH = $ _ REQUEST ['prcxh'];
$ Other1 = $ _ REQUEST ['other1'];
$ Other2 = $ _ REQUEST ['other2'];
$ Sql1 = "insert into [base_table] (base1, base2) values ('{$ base1}', '{$ base2 }')";
$ Sql2 = "insert into [prc_table] (prcname, price, prcXH) values ('{$ prcname}', '{$ price}', '{$ prcXH }') ";
$ Sql3 = "insert into [other_table] (other1, other2) values ('{$ other1}', '{$ other2 }')";
Query ($ sql1 );
Query ($ sql2 );
Query ($ sql3 );
Echo "write complete ";
?>