An existing website experiencing PHP/MySQL errors.
Warning: 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 ''' )' at line 3 in /home/FOLDER/public_html/includes/db_layer/mysql/[url removed, login to view] on line 175
This occurs when attempting to add a new record to the database.
Also unable to create a new user account: a registration email is sent with an activation link, however this link goes to a 404.
Attached is the file [url removed, login to view] and image of the form that results in the above error.