日期:2014-11-26 分類:網絡技術 瀏覽:8518 來源:邦明科技
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框架最簡單的教程實例代碼