Splendor, welcome to this forum
You need to use mysql_escape_string() in your queries where you expect a string with a ' in it. The single quote is used to SQL to enclose a string, so if you get one passed from php, then it thinks it's reached the end of a string.
Glad

to help you
-- This message may have been cut off and the rest will only be shown to members. To become a member, click here --