1 回答

TA貢獻1966條經(jīng)驗 獲得超4個贊
您必須在輸出過程中將其刪除。
例如你的數(shù)組:
// your array with ‏
$myarray = array('63252523534','35235235235&rlm','35523525','325235235532&rlm','352523532');
// create a new array
$newarray = array();
// foreach your array which contains ‏ in elements.
foreach ($myarray as $marr){
//remove ‏ from your strings and add them to your new array
$newarray[] = str_replace('‏','',$marr);
}
// you have the new array without &rlm
print_r($newarray);
結(jié)果:
Array
(
[0] => 63252523534
[1] => 35235235235
[2] => 35523525
[3] => 325235235532
[4] => 352523532
)
- 1 回答
- 0 關(guān)注
- 156 瀏覽
添加回答
舉報