Html tag removal...

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
Joe
Forum Regular
Posts: 939
Joined: Sun Feb 29, 2004 1:26 pm
Location: UK - Glasgow

Html tag removal...

Post by Joe »

Recently i have been experimenting with PHP. I have now came to the stage where I am wanting to remove all of the Html tags from the previous form submission. I know its possible to do this but I cannot find the method. Does anyone have any good ideas or tuturials that they could advise me to.


Regards



Joe 8)
McGruff
DevNet Master
Posts: 2893
Joined: Thu Jan 30, 2003 8:26 pm
Location: Glasgow, Scotland

Post by McGruff »

See [php_man]htmlspecialchars[/php_man] and [php_man]htmlentities[/php_man]
Last edited by McGruff on Tue Aug 09, 2005 1:27 pm, edited 1 time in total.
User avatar
Joe
Forum Regular
Posts: 939
Joined: Sun Feb 29, 2004 1:26 pm
Location: UK - Glasgow

Thanks...

Post by Joe »

Hey thanks for that man. I also notice your from Glasgow. Thats good im from there to. Nice to see a friendly face around!

Regards


Joe
User avatar
markl999
DevNet Resident
Posts: 1972
Joined: Thu Oct 16, 2003 5:49 pm
Location: Manchester (UK)

Post by markl999 »

Post Reply