Commit 75419dad authored by K.SLVS PAVANKUMAR's avatar K.SLVS PAVANKUMAR

php file for registration data

parent 098e05fd
<?php
$con = mysqli_connect("localhost", "swecha", "swecha", "shms");
if($con === false){
die("ERROR: Could not connect. " . mysqli_connect_error());
}
$clubname = $_POST['clubname'];
$email=$_POST['email'];
$phno=$_POST['phno'];
$roomnumber=$_POST['Roomnumber'];
$password = $_POST['pass'];
$confirmpassword= $_POST['rpass'];
$sql = "insert into regiscred (clubname,email,Phone_Number,Room_Number,pass,rpass) values ('$clubname','$email',$phno,'$roomnumber','$pass','$rpass')";
$result=mysqli_query($con,$sql);
?>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment