Question:. How to remove HTML tags but allow the use of a larger and smaller character using PHP?
If I used the PHP function strip_tags() , it does not work:
$string = '<p>if A > B</p>' echo strip_tags($string); // if AB // but I want to output "if A > B"
UPDATE
Basically, I only want to allow / show plain text.
source share