ERROR

Couldn't query this query string:SELECT SQL_CALC_FOUND_ROWS P.property_id, P.property_name, P.property_image, P.property_kind, P.property_type, P.property_bedroom, P.property_bathroom, P.property_price, P.property_area, P.property_address, P.property_state, P.property_city, P.property_zip, P.property_post_date, P.property_price_text, P.property_ishot, P.property_show_status, M.member_phone FROM properties AS P LEFT JOIN members AS M ON P.member_id = M.member_id WHERE P.property_status = 1 AND property_type= AND property_id != 124 GROUP BY P.property_id ORDER BY P.property_id DESC LIMIT 0, 3
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 'AND property_id != 124 GROUP BY P.property_id ORDER BY P.property_id DESC LIMIT' at line 7