Fixed chat
It now has a userID again, displays which user you are chatting withhover over user changes different background
This commit is contained in:
@@ -4,10 +4,11 @@ require("connect.php");
|
||||
function selectAllFriends($db, $userID) {
|
||||
$stmt = $db->prepare("
|
||||
SELECT
|
||||
`userID`,
|
||||
`username`,
|
||||
IFNULL(
|
||||
`profilepicture`,
|
||||
'img/notbad.png'
|
||||
'img/notbad.jpg'
|
||||
) AS profilepicture,
|
||||
`onlinestatus`,
|
||||
`role`
|
||||
|
||||
Reference in New Issue
Block a user