Error Number: 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 'order by priorytet =0, priorytet, idStrona_tresc desc limit 0,20' at line 1
SELECT * FROM strona_tresc where idStrona = order by priorytet =0, priorytet, idStrona_tresc desc limit 0,20
Filename: /home/virtualki/227487/modules/strona/models/strona_model.php
Line Number: 12