Page 1 of 1

Html tag removal...

Posted: Sun Mar 07, 2004 7:45 am
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)

Posted: Sun Mar 07, 2004 7:48 am
by McGruff
See [php_man]htmlspecialchars[/php_man] and [php_man]htmlentities[/php_man]

Thanks...

Posted: Sun Mar 07, 2004 7:54 am
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

Posted: Sun Mar 07, 2004 7:54 am
by markl999