Error Number: 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 num' at line 4
SELECT *, DATE_FORMAT(updated,'%c/%e/%Y %h:%i:%s%p') AS updated FROM RETS_Images WHERE id= ORDER BY num
Filename: /home/hregroup/subdomains/listings/application/widgets/Mls/Mls.php
Line Number: 910