- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
function to_int_convert($num)
{
$arr_num = str_split($num);
$new_num = "";
foreach($arr_num as $key => $value)
if($value == intval($value))
$new_num = $new_num.$value;
return $new_num;
}