Update findFriend.php
This commit is contained in:
@@ -17,6 +17,8 @@
|
||||
try{
|
||||
echo '<pre>';
|
||||
echo "Find Friends:\n\n";
|
||||
if($_POST['friend'] != '')
|
||||
{
|
||||
$sql_select = "SELECT username";
|
||||
$sql_from = "FROM contacts";
|
||||
$sql_where = "WHERE username = '".$_POST['friend']."'";
|
||||
@@ -54,6 +56,7 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
echo '</pre>';
|
||||
}catch(PDOException $e){
|
||||
|
||||
Reference in New Issue
Block a user