$theValue = function_exists("mysqli_escape_string") ? mysqli_escape_string($coWebEntry, $theValue) : mysqli_escape_string($coWebEntry, $theValue);