iStriide Posted August 7, 2011 Share Posted August 7, 2011 Can somebody show me how to do this? It would be greatly appreciated. Link to comment https://forums.phpfreaks.com/topic/244142-replacing-spaces-between-usernames-with-underscores/ Share on other sites More sharing options...
AyKay47 Posted August 7, 2011 Share Posted August 7, 2011 $username = "test username"; $username = str_replace(" ","_",$username); print $username; // test_username Link to comment https://forums.phpfreaks.com/topic/244142-replacing-spaces-between-usernames-with-underscores/#findComment-1253821 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.