Strip_tag Php

Marcel

You're the guy who stole my car
Jul 17, 2015
466
208
Hey,
So I've been working on a new project not going to get into it or anything.
This is the problem, I want to remove HTML code from some database entry.
PHP:
                <?php echo (strip_tags($p_item['news'])); ?>
For some reason that isn't working, what happens is the text is still displayed with HTML tags.
I don't know if the code is incorrect or if I'm missing anything, would be great if someone can help. :)
 

Users who are viewing this thread

Top