Portions created by the Initial Developer are Copyright (C) 2008-2012 the Initial Developer. All Rights Reserved. Contributor(s): Mark J Crane */ function check_string($str) { $str = str_replace ("\'", "''", $str); //escape the single quote return $str; } ?>