note 67025 rejected from function.get-html-translation-table by betz
| From: | betz@php.net | Date: | Fri, 02 Jun 2006 10:14:39 +0000 |
| Subject: | note 67025 rejected from function.get-html-translation-table by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-112933@lists.php.net to get a copy of this message | ||
Note Submitter: vishi83 at gmail dot com
----
<trail.php>
<?
echo htmlentities("A 'quote' is <b>bold</b>", ENT_QUOTES);
?>
When i execute the above code from terminal like,
$ php trial.php - It works.
[output] - A 'quote' is <b>bold</b>
But when i run the same in my browser i get the same output.
i.e A 'quote' is <b>bold</b>.
Why so ?
Need help on this.....
Thanks.