Commit d3254f4b authored by Nunna Satya Surya Venkat's avatar Nunna Satya Surya Venkat
Browse files

Upload New File

parent 5da17a5a
<?php
$con = mysqli_connect("localhost", "root", "", "blood");
if($con === false){
die("ERROR: Could not connect. " . mysqli_connect_error());
}
$name = $_POST['name'];
$blood=$_POST['blood'];
$age = $_POST['age'];
$city= $_POST['city'];
$mobile = $_POST['number'];
$ld= $_POST['ago'];
$sql = "INSERT INTO bloo (uname,blood,age,mobile,city,dd) VALUES ('$name', '$blood', $age,'$mobile','$city',$ld)";
$result=mysqli_query($con,$sql);
if($result==true)
{
echo "<h1>Thank You for Being a Blood Donor..You will Receive a Message when there is a Requirement!! </h1>";
}
?>
\ No newline at end of file
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