$info = array(); foreach($_POST as $key => $value){ $info[$key] = iconv("utf-8","gb2312",$value); }
以上就是php转换数组编码方法的内容,更多相关内容请关注PHP中文网(www.php1.cn)!