mysql 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 'LIMIT 1' at line 1
sql: SELECT *, IF((listingagentid='a33621' OR listingagentid='c20349'),1,0) as featuredlisting FROM rets_matrix_resi WHERE id= LIMIT 1