specialchars function

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
lobuz
Forum Newbie
Posts: 1
Joined: Tue May 27, 2008 3:43 am

specialchars function

Post by lobuz »

hi,

is there a php function to detect if string has specialchars in it?

saludos
User avatar
N1gel
Forum Commoner
Posts: 95
Joined: Sun Apr 30, 2006 12:01 pm

Re: specialchars function

Post by N1gel »

There is a buit in html special characters function. It allows you to print these charcters in a string instead of them being html code.

Have a look in the PHP manual at htmlspecialchars
Post Reply