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

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -