Well I am currently having problems with the following code. If the User is an Admin or Senior DJ, it displays the requests. But if the rank is a normal DJ, I get the following error. The code is below and I have put line 122 in red. Thanks.
It's a problem with the query not the fetch command. Why don't you echo it first and then copy-paste it in phpmyadmin to see where the problem is or use an error echo ?