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 '),2)+pow((place_lng-),2)) as di,p.*, group_concat(m.media_store_name,'#',m.media' at line 1