日期:2014-11-26 分类:网络技术 浏览:8419 来源:邦明科技
PHP explode函数乱码问题解决方法
这样就会出现乱码:
$customertype=explode("=",trim($_POST['customertype']));
$customertype=$customertype[0];
$customerlevel=$customertype[1];
这样不出现乱码:
$abc=explode("=",trim($_POST['customertype']));
$customertype=$abc[0];
$customerlevel=$abc[1];
原来是代码写错了
下一篇: PHP MVC框架最简单的教程实例代码