Location: PHPKode > scripts > Entitize Class > readme.txt
To use the class, simply include it on your PHP file:


Then, instantiate the class:

  $entitize = new Entitize();

Now, you can convert any string into HTML entities by doing so:

  $email = $entitize->convert('hide@address.com');

  $text = 'This text is not readable when viewed in source code';
  $text = $entitize->convert($text);

Have fun!
Return current item: Entitize Class