- Get link
- X
- Other Apps
Code for Database Connection confirmation PHP+HTML
<html> <head> <title> web page 2</title> </head> <body> <?php error_reporting(0); $con=mysql_connect("localhost","root",""); if($con){ mysql_select_db('one',$con); echo "connection successfully"; } else{ echo "connection fail"; } $id=$_REQUEST['id']; $name=$_REQUEST['name']; $email=$_REQUEST['email']; $password=$_REQUEST['password']; $query="INSERT INTO `db1`.`one` (`id`, `name`, `email`, `password`) VALUES (NULL, '$name', '$email', '$password'); "; $r = mysql_query($query); if($r) {echo "inserted";} else {echo "error";} ?> </body> </html>
Hi! Nice blog. We also offering you<a href="https://tinyurl.com/y5aujhta”> Quickbooks Customer Service Number</a>. If you need any help regarding QuickBooks issues, dial 1-855-756-1077 for instant help.
ReplyDelete