Array
(
[0] => Array
(
[file] => /home/workersc/public_html/articles.php
[line] => 14
[function] => query
[class] => Ozone
[type] => ->
[object] => Ozone Object
(
[QUERY_COUNT] => 0
[link_id] =>
)
[args] => Array
(
[0] => SELECT Articles.*, Categories.*, Sections.* FROM Articles, Categories, Sections WHERE Articles.CID = Categories.CID AND Sections.SID = Categories.SID AND Sections.SID = AND Articles.Publish = 1 ORDER BY Articles.BDate DESC, Articles.BID DESC
)
)
)
Invalid query: 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 Articles.Publish = 1 ORDER BY Articles.BDate DESC, Articles.BID DESC' at line 1
The Query: SELECT Articles.*, Categories.*, Sections.* FROM Articles, Categories, Sections WHERE Articles.CID = Categories.CID AND Sections.SID = Categories.SID AND Sections.SID = AND Articles.Publish = 1 ORDER BY Articles.BDate DESC, Articles.BID DESC
1