/* 判断内容里面有单引号及双引号报错判断 */
$keyword= stripslashes($_GET['a']);
if(strpos($_GET['a'],"'") !== false){
	$key=$empire->query('UPDATE phome_ecms_news_data_1 SET befrom = replace(befrom, "内", "'.$keyword.'")');
}else{
	$key=$empire->query("UPDATE phome_ecms_news_data_1 SET befrom = replace(befrom, '内', '".$keyword."')");
}

//$key=$empire->query("UPDATE phome_ecms_news_data_1 SET befrom = replace(befrom, '内蒙', '".$keyword."')");
if($key){
	echo  "成功!";
}