Php Array Functions
PHP Array CountPhp File Functions
PHP File RenameThe htmlentities() function is used to convert characters to HTML tags or entities.
Type sentance at text box like this 'Hello World' and click convert button the result will display 'Hello world' also take view source result will be 'Hello World'
If you need to add HTML tags or entities for a sentence following code useful to you.
In the above code is used to convert characters to HTML tags or entities .The sentence will pass to the htmlentities() function.Finally output will display 'Hello World'.
In the htmlentities() function have three parameters that name is string string,int quote_style,string charset.
If you need htmlentities() function demo code download from following link.
|
Tweet |
|
|