Commit 9dc5321b authored by rama chandra's avatar rama chandra
Browse files
parents fc5d6df8 003ad8a5
$query = "SELECT * from bloo ";
$result = mysqli_query($con, $query) or die ( mysqli_error());
$row = mysqli_fetch_assoc($result);
<!DOCTYPE html>
<meta charset="utf-8">
<title>View Records</title>
<title>Update Record</title>
<link rel="stylesheet" href="css/style.css" />
......@@ -27,6 +32,7 @@ while($row = mysqli_fetch_assoc($result)) { ?>
<?php $count++; } ?>
......@@ -35,7 +35,7 @@
<div class="collapse navbar-collapse" id="probootstrap-navbar">
<ul class="navbar-nav ml-auto">
<!--<li class="nav-item"><a class="nav-link" href="#section-home">Home</a></li>-->
<li class="nav-item cta-btn ml-xl-2 ml-lg-2 ml-md-0 ml-sm-0 ml-0"><a class="nav-link" href="admin/index.php" target="_blank"><span class="pb_rounded-4 px-4 btn-success">Login</span></a></li>
<li class="nav-item cta-btn ml-xl-2 ml-lg-2 ml-md-0 ml-sm-0 ml-0"><a class="nav-link" href="signup.html" target="_blank"><span class="pb_rounded-4 px-4 btn-success">Be A Donar</span></a></li>
......@@ -15,7 +15,7 @@ $ld= $_POST['ago'];
$sql = "INSERT INTO bloo (uname,blood,age,mobile,city,dd) VALUES ('$name', '$blood', $age,'$mobile','$city',$ld)";
$sql = "INSERT INTO bloo (uname,blood,age,mobile,city,dd) VALUES ('$name', '$blood', $age,'$mobile','$city','$ld')";
......@@ -46,8 +46,19 @@
<input type="text" name="city" class="form-control pb_height-50 reverse" placeholder="City" required>
<div class="form-group">
<input type="number" name="ago" class="form-control pb_height-50 reverse" placeholder="Last Donated Blood(months)" required>
<select name="ago" class="form-control pb_height-50 reverse" required>
<option value="" selected>Last Donated Blood(Months)</option>
<option value="Less Than 1">Less Than 1</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="More Than 3">More Than 3</option>
<div class="form-group">
<input type="number" name="age" class="form-control pb_height-50 reverse" placeholder="Age" required>
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