QuestionsCategory: Programmingstrip_tags not working correctly..its not removing the html tags ??
Anonymous asked 7 years ago

when i am using the static html its working correctly but when i am using database value its displaying the html tags….not sure what is going on ???

1 Answers
Best Answer
mmSahil Bajaj Staff answered 7 years ago

use this strip_tags( html_entity_decode( $dbString ) )