Image courtesy of


Fatal error: Uncaught exception 'Exception' with message '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'Y'' at line 6 query: SELECT top10pages.top10pagesID, top10pages.title as pageTitle, destination, top10pages.url as relatedUrl,sectionName,categorytypes.url as sectionNameUrl,categoryName,imageName,pageCount,top10series.title,top10pages.excerpt as excerpt,top10SeriesContentID from top10pages join top10series using(top10SeriesID) join top10seriescontent using(top10PagesID) join categories using(categoryID) JOIN categorytypes using (categoryTypeID) where articleTypeID = 1 and top10pages.top10seriesID= AND'Y'' in /home/universive/ Stack trace: #0 /home/universive/ MysqliDb->_prepareQuery() #1 /home/universive/ MysqliDb->rawQuery('SELECT in /home/universive/ on line 2006