Testy

prikaz: SELECT rt.tst_id, t.tst_name, rt.ret_id, r.reg_id FROM registrations as r LEFT JOIN registrations_tests as rt ON ( r.reg_id = rt.reg_id ) LEFT JOIN tests as t ON (rt.tst_id = t.tst_id) WHERE r.dep_id = ORDER BY t.tst_name DESC
1064 : You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ORDER BY t.tst_name DESC' at line 1


Fatal error: Uncaught Error: Call to a member function fetch_assoc() on boolean in /www/doc/www.proficiencytesting.cz/www/sections/tests.php:28 Stack trace: #0 /www/doc/www.proficiencytesting.cz/www/index.php(105): require_once() #1 {main} thrown in /www/doc/www.proficiencytesting.cz/www/sections/tests.php on line 28