DATABASE ERROR:
SELECT		        
				u.id as id,
				u.login,
				u.nickname,
				u.logdate as flogdate,
		        u.is_deleted as is_deleted,
                u.birthdate, u.rating,
				u.status as microstatus,
                p.city, p.karma as karma, p.imageurl, 
				p.gender as gender
                FROM cms_users u
				INNER JOIN cms_user_profiles p ON p.user_id = u.id
				WHERE u.is_deleted = 0 AND u.is_locked = 0
				AND (LOWER(p.description) LIKE '%man. i have understand your stuff previous to and you're just too magnificent. thankyou  for helping out%' OR LOWER(p.formsdata) LIKE '%man. i have understand your stuff previous to and you're just too magnificent. thankyou  for helping out%')
				ORDER BY city DESC
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 're just too magnificent. thankyou for helping out%' OR LOWER(p.formsdata) LIKE ' at line 14