php replace space with underscore

53

php replace space with underscore -

$str = str_replace(' ', '_', $str);

Comments

Submit
0 Comments