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