MySQL error: Unknown column 'media.php' in 'where clause'


select * from news where id <> media.php and publish=1 and delete_topic = 0 and topic_col = 0 and other_page = 0 order by topic_date DESC, id DESC limit 0, 20

MySQL error: Unknown column 'media.php' in 'where clause'


select * from news where id <> media.php and publish=1 and delete_topic = 0 and topic_col = 1 and other_page = 0 order by topic_date DESC, id DESC Nikki Grahame News| Nikki's News
Nikki Grahame

News Item