Unknown column 'js' in 'where clause' Select * From projects Where cat_id = js order by id desc