Dingen door elkaar

This commit is contained in:
Lars van Hijfte
2017-01-24 17:06:39 +01:00
parent fd055e8355
commit 7bf8a16cf0
6 changed files with 61 additions and 7 deletions

View File

@@ -35,7 +35,12 @@
</div>
</div>
</li>
";
";
}
$chatID = $_GET["chatID"];
if (isset($chatID) && $chatID != "") {
echo "<script>$(document).ready(function(){switchUser('$chatID')});</script>";
}
?>
</ul>

View File

@@ -0,0 +1,3 @@
<?php
echo json_encode(selectAllFriends($_SESSION["userID"])->fetchAll());