fixed example.php to escape html characters properly