DB: 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 postdate desc limit 0, 9' at line 5
Array ( [0] => {0} DB broker connected to DB "VKUSOTII" [1] => {0} select recipe_id from recipe_tags where tag_id = 118771 [2] => {0} select name from tags where id = 118771 limit 0,1 [3] => {0} select recipes.id, recipes.header, recipes.postdate, recipes.cook_time, authors.author, authors.id as aid, author_sum.likes as alikes, author_sum.pics as apics, recipes.facebook_id, recipe_sum.* from recipes left join recipe_sum on (recipes.id=recipe_sum.recipe_id), authors left join author_sum on (authors.id=author_sum.author_id) where recipes.facebook_id=authors.facebook_id and status = 1 and recipes.id in () order by postdate desc limit 0, 9 {SQL ERROR} ) DB->raise_error():Array ( [0] => [/mnt/dir_main/www/new/lib/PHP5/common/MT/Core/Abstract.class.php:141] MT_Core_Abstract->get_call_stack(); [1] => [/mnt/dir_main/www/new/lib/PHP5/common/DB/Broker.class.php:1013] MT_Core_Abstract->raise_error(); [2] => [/mnt/dir_main/www/new/lib/PHP5/common/DB/Broker.class.php:446] DB_Broker->raise_error(); [3] => [/mnt/dir_main/www/new/www/vkusotii.dir.bg/recipes.php:110] DB_Broker->query(); )