$string=str_replace(array("UTF-8"," ",""," "," ",'"'," "), array("gb2312",""),$string);----------------------------------------
将$string中的"utf-8"替换为"gb2312"," "(连续两个空格)替换为""(空),将第一个参数数组中剩下的部分都替换为""(空)Replaces "utf-8" to "gb2312" of the $string, " " to "", and other values in the first array to empty string.
将$string中的"utf-8"替换为"gb2312"," "(连续两个空格)替换为""(空),将第一个参数数组中剩下的部分都替换为""(空)Replaces "utf-8" to "gb2312" of the $string, " " to "", and other values in the first array to empty string.
谢了!