The SQL-Query was not correct.
MySQL ErrorMessage: 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 ';_single_family_homes.html order by pos' at line 1
MySQL Query: select * from dd_images where p_id = 2312;_single_family_homes.html order by pos.