2011-04-04 129 views

回答

3
$a = str_replace(",", "", $a); 
+1

大聲笑,多麼愚蠢的錯誤,我參與..謝謝你糾正:) – 2011-04-04 14:34:02

+0

@Ibrahim:我想我們都做過這樣的事情:-P – 2011-04-04 14:36:16

1
$a = "Hey there, how do i remove all, the comma from this string,"; 
$a = str_replace(',','',$a); 
echo $a; 

錯位分號和錯誤的函數參數。