Showing posts with label how to insert data into database ?. Show all posts
Showing posts with label how to insert data into database ?. Show all posts

Sunday, July 6, 2014

How to insert data into database ?

In our previous section, we show you how to connect to database in php. In this post, we will show you how to insert data into database. require 'connect.php'; imports the php file which has been already defined. Its demo is shown here. The $_POST['username'] and  $_POST['password'] takes value of input value in html form. Then, "if($u_pass !=