QuestionsCategory: Programmingstrip_tags not working correctly..its not removing the html tags ??
Anonymous asked 5 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 5 years ago

use this strip_tags( html_entity_decode( $dbString ) )