add in a " to correct the php file

This commit is contained in:
Bryan
2019-11-25 21:51:19 -05:00
parent aeaf4c16a0
commit 7785a39f2b

View File

@@ -7,6 +7,7 @@ body {
</style>
<?php
$username = $_POST["username"];
$servername = "localhost";
@@ -21,9 +22,10 @@ if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
}
echo "Connected successfully";
echo "<br>";
echo "Awesome dude";
$query = "Select * from contacts where username = {$username};
$query = "Select * from contacts where username = {$username}";
print $query;
?>