Hi,
How to do whats written in the commented line(//) in the code below:
<?php
$term = ".<B>test</b>";
if(stristr($term,"<") && stristr($term,">") && !stristr($term,"<br>") &&
!stristr($term,"<p>") ){
printf("its html tag");
// here i want to remove the html tags from $term and then print
it.(here it should print '.test')
}
else{
printf("not a html tag.");
}
?>
Thanx and regards
anil-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

