Fixes and cleanup

This commit is contained in:
William Miceli
2019-12-03 22:53:52 -05:00
parent 393b9e8725
commit e93827e46f
3 changed files with 7 additions and 26 deletions

View File

@@ -15,7 +15,7 @@
<?php
try{
echo '<pre>';
// echo "messageID\tdate\t\tsender\trecipient\tmessage\n\n";
echo "Friends:\n\n";
$sql_select = "SELECT friend";
$sql_from = "FROM friendList";
$sql_where = "WHERE username='".$_SESSION["loggedInUser"]."' AND confirm=true";
@@ -30,12 +30,6 @@
}catch(Exception $e){
echo "Exception: ".$e->getMessage().PHP_EOL;
}
echo '<h3>$GLOBALS</h3>';
echo '<pre>';
print_r($GLOBALS);
echo '</pre>';
?>
</body>
</html>