SQL

An Error has occured, please contact the system administrator.



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.memberid = profiles.id) LIMIT 1' at line 1
Query:
SELECT articles.articleid, articles.seriesid, articles.title, articles.article, profiles.username, articles.entry_date FROM articles articles, profiles profiles where (articleid = AND articles.memberid = profiles.id) LIMIT 1