SkyRanger Posted October 29, 2008 Share Posted October 29, 2008 Is there a way to strip certain code. I have something like: This_is_the_name I would like it to out put as: This is the name Would I use strip_tags for that or something else? Link to comment https://forums.phpfreaks.com/topic/130524-solved-strip-code/ Share on other sites More sharing options...
asmith Posted October 29, 2008 Share Posted October 29, 2008 strip tags will skip "tags" . you can use str_replace. str_replace("_"," ","This_is_the_name"); Link to comment https://forums.phpfreaks.com/topic/130524-solved-strip-code/#findComment-677153 Share on other sites More sharing options...
pocobueno1388 Posted October 29, 2008 Share Posted October 29, 2008 Look at the function str_replace(). Link to comment https://forums.phpfreaks.com/topic/130524-solved-strip-code/#findComment-677154 Share on other sites More sharing options...
SkyRanger Posted October 29, 2008 Author Share Posted October 29, 2008 Thanks guys Link to comment https://forums.phpfreaks.com/topic/130524-solved-strip-code/#findComment-677155 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.