Hi
I want to remove html tangs of a string using php.
is there any function that can help me?
like
$str='<b>Hello</b> Mannan';
I want to make it
$str = 'Hello Mannan';
thank ya all
can i remove html tags using php
Moderator: General Moderators
- mattcooper
- Forum Contributor
- Posts: 210
- Joined: Thu Mar 17, 2005 5:51 am
- Location: London, UK
Re: can i remove html tags using php
Use this:
Easy 
Code: Select all
<?php $str = strip_tags('<b>Hello</b> Mannan'); ?>