Have some troubles: SQL:: prepare() failed. SQL:
SELECT SMALL, BIG FROM PICS WHERE FOLDER = ORDER BY ORD
error:
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 ORD' at line 3

LINE:410
FILE:/var/www/u1490614/data/www/sjxboats.ru/lib/sql.php
TRACE:
/var/www/u1490614/data/www/sjxboats.ru/index.php123SQL2A
/var/www/u1490614/data/www/sjxboats.ru/index.php1669picsFolder