SELECT `Id`, `UsersId`, `Game`, `Typ`, `Slot`, `Lokacja`, `datestart`, `dateend`,`status`, `cena` FROM `Zamowienia` WHERE `status`='Nie oplacone',`UsersId`='1'
pma zwraca #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`UsersId`='1' LIMIT 0, 30' at line 1