Phpdocs 35

CategoryString Functions - 21. htmlentities Convert all applicable characters to HTML entities
Code Examplesbold"; // Outputs: A 'quote' is <b>bold</b> echo htmlentities($str); // Outputs: A 'quote' is <b>bold</b> echo htmlentities($str, ENT_QUOTES); // this does not really work -- jli
Test Code
Web Linkhttp://www.php.net/manual/en/function.htmlentities.php
Remarks
Cancel