Showing posts with label insert command in php. Show all posts
Showing posts with label insert command in php. Show all posts

Monday, 4 July 2016

Insert command for the login page

Insert command for the login page


<?php

 $con=mysqli_connect('localhost','root','','deepak');

$n=$_POST['Name']; 

$p=$_POST['Password'];

 echo "$n";

 echo "<br>";

 echo "$p";

 $in="insert into login(name,password)values('$n','$p')";


mysqli_query($con,$in);

 ?>