SELECT * FROM raves_profiles_categories INNER JOIN raves_profiles ON pr_pfcat_id = pfcat_id WHERE pr_id =that'sDB Error: syntax error