A PHP Error was encountered

Severity: Notice

Message: Undefined variable: id

Filename: front/saigon_model.php

Line Number: 42

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/saigonr3/public_html/system/core/Exceptions.php:170)

Filename: core/Common.php

Line Number: 409

Database Error

A Database Error Occurred

Error Number: 1064

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 'AND `action_news` = 'news' AND `showNews` = 1 ORDER BY `dateNews` DESC LIMIT 10' at line 4

SELECT `name_news` AS title, `translite_name` AS trans, `content_news` AS content, `dateNews` AS date, `imageNews` AS image FROM (`news`) WHERE `id_news` <> AND `action_news` = 'news' AND `showNews` = 1 ORDER BY `dateNews` DESC LIMIT 10

Filename: /home/saigonr3/public_html/models/front/saigon_model.php

Line Number: 59