I\'m having some problems using strip_tags PHP function when the string contains \'less than\' and \'greater than\' signs. For example:
If I do:
stri
If you want to have "greater than" and "lesser than" signs, you need to escape them:
> is >
>
< is <
<
See e.g. this: http://www.w3schools.com/html/html_entities.asp