Skip to content

Commit

Permalink
s
Browse files Browse the repository at this point in the history
  • Loading branch information
judemont committed Jul 26, 2024
1 parent d9e318c commit 1a56928
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/getComments.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
$teacherId = $db->escapeStrings($_POST['teacherID']);

$comments = $db->select("SELECT * FROM gargameleaks_comments WHERE teacher_ID = '$teacherId'");
echo json_encode($comments);
print_r(json_encode($comments));

0 comments on commit 1a56928

Please # to comment.