Query Error SELECT id,name,category_name,category_alias,summary,image, created_time,category_id, alias FROM fs_trainings WHERE published = 1 AND category_id = ORDER BY created_time DESC LIMIT 0,9
Array ( [0] => 42000 [1] => 1064 [2] => You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ORDER BY created_time DESC LIMIT 0,9' at line 3 )