MySqlIException

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 issue.start_date < 1338015342
order by
art.id desc limit 0, 5' at line 10


select
art.id, art.title_en, art.handle_en,
art.content_en
from
tbl_articles art
inner join tbl_magazine_issues issue on art.issue = issue.id
where
art.id != 0
and art.category =
and issue.start_date < 1338015342
order by
art.id desc limit 0, 5

Article->Display('/en/news-and-events/%s/', '', '1')
File: /sites/sapteseri.ro/Classes/WebPages/NewsWebPage.php, Line: 78
NewsWebPage->Main('')
ReflectionMethod->invoke(NewsWebPage, '')
File: /sites/sapteseri.ro/Arachnid/Core/Web/PlaceholderHandler.php, Line: 76
PlaceholderHandler->Invoke()
File: /sites/sapteseri.ro/Arachnid/Core/Web/Template.php, Line: 68
Template->Parse()
File: /sites/sapteseri.ro/Arachnid/Core/Web/WebDocument.php, Line: 51
WebDocument->Display()
File: /sites/sapteseri.ro/index.php, Line: 94