codeigniter - Adding a space to strings with underscrore in php -


i trying add underscore space in string using str_replace() in php not doing expect doing:

     echo $view="one bank".'<br>';      echo $view_name=  str_replace("","_",$view);  output:      1 bank     1 bank  wanted:      1 bank     one_bank 

change "" " " , work


Comments

Popular posts from this blog

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -