get the query ready for nameSearch.php
This commit is contained in:
@@ -1,6 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<body>
|
<body>
|
||||||
|
<style>
|
||||||
|
body {
|
||||||
|
background-color: #3B5998;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
@@ -20,7 +24,7 @@ if ($conn->connect_error) {
|
|||||||
}
|
}
|
||||||
echo "Connected successfully";
|
echo "Connected successfully";
|
||||||
|
|
||||||
$query = "Select * from contacts where fname = " + $fname + " and lnam = " + $lname;
|
$query = "Select * from contacts where fname = {$fname} and lnam = {$lname}";
|
||||||
|
|
||||||
print $query;
|
print $query;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user