Thanks,
Changing various lines from this [for example]:
$reply_content = $POST['ticket_content'];
to this:
$reply_content = mysql_real_escape_string($POST['ticket_content']);
took care of the apostrophe problem.
HOWEVER...
One of the lines I needed to edit was already using strip_tags so I replaced strip_tags with mysql_real_escape_string. But what if I wanted to keep both functions? How would that be coded?
I changed this
$ticket_subject = strip_tags($POST['ticket_subject']);
to this
$ticket_subject = mysql_real_escape_string($POST['ticket_subject']);
What would it look like to use both functions together?