error at: #0 sphinx->query(SELECT id,name,url_name,unique_url_name,author,likes,calories,img_height,img_width,IN(id,) AS id_cond FROM under500_recipes_rt WHERE id_cond>0 ORDER BY likes DESC ) called at [/home/alex/under500calories.com/htdocs/adv_search_action.php:750] #1 require(/home/alex/under500calories.com/htdocs/adv_search_action.php) called at [/home/alex/under500calories.com/htdocs/handler.php:330] sphinxql: syntax error, unexpected ')' near ') AS id_cond FROM under500_recipes_rt WHERE id_cond>0 ORDER BY likes DESC ' SELECT id,name,url_name,unique_url_name,author,likes,calories,img_height,img_width,IN(id,) AS id_cond FROM under500_recipes_rt WHERE id_cond>0 ORDER BY likes DESC