ack! query failed:
errorno=1064error=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 '' at line 1query=select p.property_id from properties as p, property_categories as c where p.location_code=1705 and p.property_id=c.property_id and c.category_id=9 and p.propstatus!='SOLD OUT' order by p.askingprice limit ,