MySQL error:

Query: SELECT controlValue FROM control WHERE (controlType = 'searchAlias') AND (controlAbbrev = 'pharoah's')

at line 761 in file /home/oqhwqcgn2wgq/additional_domains/imagingthebible.delweddau.cymru/public_html/searchfunctions.inc.php

Error message: 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 's')' at line 1