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 'cidlevel) order by ESR.current_package desc,rand() limit 0,25' at line 1
select ESR.company_name,ESR.use_website_link,ESR.website,ESR.initial_shop,EP.pname,EP.pid,EP.image,product_description_url,current_package,product_short_desc from etrade_product EP left join etrade_supplier_register ESR on (EP.sid=ESR.id) where !isnull(EP.image) and ESR.status=1 and find_in_set(,cidlevel) order by ESR.current_package desc,rand() limit 0,25