SELECT a.id,a.userid,a.listaddress1,a.list_price,a.lotsize,a.lotsizetype,a.type,a.list_status,a.featured_status,a.beds,a.bathrooms,a.pricelistflag,a.listaddress2,a.zipcode,a.homesize FROM list_main a, user_registration b WHERE a.list_status=1 and a.userid=b.id and b.status=1 and a.type='0' and (find_in_set('Bosnia and Herzegovina',a.listaddress1)<>0 and find_in_set('Sarajevo',a.listaddress1)<>0) and a.property_type= ORDER BY a.featured_status desc;
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 'ORDER BY a.featured_status desc' at line 1 SELECT a.id,a.userid,a.listaddress1,a.listaddress2,a.list_price,a.type,a.beds,a.bathrooms,a.lattitude,a.longitude,a.listeddate,(select d.list_image from list_images d where d.lid=a.id order by d.id limit 0,1) as listimagelist,a.featured_status,a.zipcode,a.homesize FROM list_main a, user_registration b WHERE a.list_status=1 and a.userid=b.id and b.status=1 and a.type='0' and (find_in_set('Bosnia and Herzegovina',a.listaddress1)<>0 and find_in_set('Sarajevo',a.listaddress1)<>0) and a.property_type= ORDER BY a.featured_status desc;
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 'ORDER BY a.featured_status desc' at line 1 SELECT a.id,a.userid,a.listaddress1,a.list_price,a.lotsize,a.lotsizetype,a.type,a.list_status,a.featured_status,a.beds,a.bathrooms,a.pricelistflag,a.listaddress2,a.zipcode,a.homesize,a.PriceState FROM list_main a, user_registration b WHERE a.list_status=1 and a.userid=b.id and b.status=1 and a.type='0' and (find_in_set('Bosnia and Herzegovina',a.listaddress1)<>0 and find_in_set('Sarajevo',a.listaddress1)<>0) and a.property_type= ORDER BY a.featured_status desc LIMIT 0,12 ;
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 'ORDER BY a.featured_status desc LIMIT 0,12' at line 1
Please fill out the required fields.