thewooleymammoth Posted September 18, 2007 Share Posted September 18, 2007 How would i go about stripping all tags but html tags? like myspace does...? Quote Link to comment https://forums.phpfreaks.com/topic/69720-solved-html-tags-only/ Share on other sites More sharing options...
darkfreaks Posted September 18, 2007 Share Posted September 18, 2007 <?php str_replace('<tag>', ''); ///replaces tag with nothing or supplied replacement tag ?> Quote Link to comment https://forums.phpfreaks.com/topic/69720-solved-html-tags-only/#findComment-350336 Share on other sites More sharing options...
thewooleymammoth Posted September 18, 2007 Author Share Posted September 18, 2007 so there is no way to specify that i only want html tags? wouldnt i have to go through and do that with every possible php and mysql tag? Quote Link to comment https://forums.phpfreaks.com/topic/69720-solved-html-tags-only/#findComment-350366 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.