Ошибка! MySQL сказала: 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 'or vv_img_a.num=50 ) and vv_images.code=vv_img_a.img ORDER BY num ASC' at line 1.