replace spaces with _ in php - May 15, 2011 Get link Facebook X Pinterest Email Other Apps I am trying to change the spaces in the following var $ e_type = 'Hello world test'; Please me You want: $ e_type = str_replace ('', '_', $ e_type); Comments
Comments
Post a Comment