I would like to convert a field in the format 12,123 to the format 12123. Can anyone help?
$string = "12,345";
$ary = explode(",", $string); $string = $ary[0] . $ary[1];
echo "string"; // will output "12345"
or in one line:
$string = str_replace(",","",$string);