Commit 5830df4e authored by rama chandra's avatar rama chandra
Browse files

update insert

parent b7f5fe64
......@@ -3,8 +3,8 @@
class db{
private $host = "localhost";
private $dbname = "blood";
private $username = "swecha";
private $password = 'swecha';
private $username = "root";
private $password = '';
protected $con;
public function __construct(){
......
<?php
define('DB_SERVER', 'localhost');
define('DB_USERNAME', 'swecha');
define('DB_PASSWORD', 'swecha');
define('DB_DATABASE', 'shms');
define('DB_USERNAME', 'root');
define('DB_PASSWORD', '');
define('DB_DATABASE', 'blood');
$$nameErr="";
$con = mysqli_connect(DB_SERVER,DB_USERNAME,DB_PASSWORD,DB_DATABASE);
......@@ -21,7 +21,7 @@ $result = mysqli_query($con,$query);
}
if($result == true){
<script> alert("thanks foro registering");</script>
echo"Thanks For Registering!!";
}
......
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