PHP

1.How can we remove the HTML tags from PHP varible text?



<?php
$string =  $this->escape($row->datdescription);
$description = html_entity_decode($string);
echo $description1 ;
 $description = strip_tags($description);
?>

or


<?php
$string1 =  $this->escape($row->datdescription);
$description1 = html_entity_decode($string1);
echo $description1 ; ?>


or
$string =  $this->escape($row->datdescription);
echo  $output = strip_tags($ string  );