Fixed queries and profile page.

This commit is contained in:
K. Nobel
2017-01-19 12:01:39 +01:00
parent b37d06e2cc
commit 84719529bb
5 changed files with 20 additions and 18 deletions

View File

@@ -1,7 +1,7 @@
<?php
require("connect.php");
function selectAllFriends($db, $userID) {
function selectAllFriends($userID) {
$stmt = $GLOBALS["db"]->prepare("
SELECT
`username`,