| specialchars() | ใช้ encode ตัวอักขระพิเศษต่างๆ เช่น "<", "/", ">", "\" ให้เป็นรูปแบบ html เช่น "<", ">" |
|---|
method:specialchars ( text, boolean );
return type:string
special:static
content:ใช้ encode ตัวอักขระพิเศษต่างๆ เช่น "<", "/", ">", "\" ให้เป็นรูปแบบ html เช่น "<", ">"
example:echo html::specialchars ( "<br/>" );