thewooleymammoth Posted September 18, 2007 Share Posted September 18, 2007 How would i go about stripping all tags but html tags? like myspace does...? 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 ?> 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? Link to comment https://forums.phpfreaks.com/topic/69720-solved-html-tags-only/#findComment-350366 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.