Could not SELECT SELECT aaa_questions.*, aaa_questions.CategoryID AS CategoryID, aaa_categories.Category, aaa_users.handle FROM aaa_questions, aaa_categories, aaa_users WHERE QuestionNumber = AND aaa_questions.CategoryID = aaa_categories.CategoryID AND aaa_users.UserNumber = aaa_questions.UserNumberYou 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 aaa_questions.CategoryID = aaa_categories.CategoryID AND aaa_users.UserNumbe' at line 1