Hi, I'm trying to simply strip any commas out of a field submitted through a form using str_replace as such:
$Price=str_replace(",","",$_POST['Price']);
When I echo the value of $Price, it prints with the comma in it. Any ideas why this is happening. I also tried using ereg_replace and the same thing. I'm using php 4.2.3
Thanks for any ideas