Post on 06-Jul-2018
8/17/2019 Advanced Ec Section 4
1/3
1
Section 4: Sign Up and Data Enter
1- Connect to database
Open "insertnewaccount.php" page and paste the connection code
2- Write this code in " insertnewaccount.php" inside the body tag
The code was written in the section
"User.php"
8/17/2019 Advanced Ec Section 4
2/3
2
Another example explain how to insert data from forms to database
1- Create new page "customerform.php"
Put your design
Create customer form and set its action to "insertcustomer.php"
8/17/2019 Advanced Ec Section 4
3/3
3
2- Create new page "insertcustomer.php"
Put the connection code
Write this code inside
The code was written in the section