Query: SELECT `NewsComment`.`id`, `NewsComment`.`news_id`, `NewsComment`.`comment`, `NewsComment`.`email`, `NewsComment`.`nickname`, `NewsComment`.`location`, `NewsComment`.`approved`, `NewsComment`.`title`, `NewsComment`.`created`, `NewsComment`.`modified`, `NewsComment`.`viewed`, `News`.`id`, `News`.`created`, `News`.`author`, `News`.`image_id`, `News`.`source`, `News`.`title`, `News`.`content`, `News`.`modified`, `News`.`type`, `News`.`status` FROM `news_comments` AS `NewsComment` LEFT JOIN `news` AS `News` ON (`NewsComment`.`news_id` = `News`.`id`) where `NewsComment`.`approved` = "1" and `NewsComment`.`news_id` = js ORDER BY `NewsComment`.`id` desc, `NewsComment`.`modified` desc Warning: SQL Error: 1054: Unknown column 'js' in 'where clause' in /home/nduomco/public_html/site/cake/libs/model/datasources/dbo_source.php on line 440
Query: SELECT COUNT(*) AS `count` FROM `news_comments` AS `NewsComment` LEFT JOIN `news` AS `News` ON (`NewsComment`.`news_id` = `News`.`id`) where news_id = js Warning: SQL Error: 1054: Unknown column 'js' in 'where clause' in /home/nduomco/public_html/site/cake/libs/model/datasources/dbo_source.php on line 440
Dr. Paa Kwesi Nduom - Presidential Candidate for Convetion People's Party
Privacy Policy | Copyright 2008 | All Rights Reserved
Designed by
6 queries took 22 ms
Nr
Query
Error
Affected
Num. rows
Took (ms)
1
DESCRIBE `news`
10
10
16
2
DESCRIBE `images`
8
8
2
3
DESCRIBE `news_comments`
11
11
2
4
SELECT `News`.`id`, `News`.`created`, `News`.`author`, `News`.`image_id`, `News`.`source`, `News`.`title`, `News`.`content`, `News`.`modified`, `News`.`type`, `News`.`status`, `Image`.`id`, `Image`.`filename`, `Image`.`type`, `Image`.`size`, `Image`.`dir`, `Image`.`image_type`, `Image`.`created`, `Image`.`modified` FROM `news` AS `News` LEFT JOIN `images` AS `Image` ON (`News`.`image_id` = `Image`.`id`) WHERE `News`.`id` = 'js' LIMIT 1
0
0
1
5
SELECT `NewsComment`.`id`, `NewsComment`.`news_id`, `NewsComment`.`comment`, `NewsComment`.`email`, `NewsComment`.`nickname`, `NewsComment`.`location`, `NewsComment`.`approved`, `NewsComment`.`title`, `NewsComment`.`created`, `NewsComment`.`modified`, `NewsComment`.`viewed`, `News`.`id`, `News`.`created`, `News`.`author`, `News`.`image_id`, `News`.`source`, `News`.`title`, `News`.`content`, `News`.`modified`, `News`.`type`, `News`.`status` FROM `news_comments` AS `NewsComment` LEFT JOIN `news` AS `News` ON (`NewsComment`.`news_id` = `News`.`id`) where `NewsComment`.`approved` = "1" and `NewsComment`.`news_id` = js ORDER BY `NewsComment`.`id` desc, `NewsComment`.`modified` desc
1054: Unknown column 'js' in 'where clause'
0
6
SELECT COUNT(*) AS `count` FROM `news_comments` AS `NewsComment` LEFT JOIN `news` AS `News` ON (`NewsComment`.`news_id` = `News`.`id`) where news_id = js