note 67025 rejected from function.get-html-translation-table by betz

From: 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 &#039;quote&#039; is &lt;b&gt;bold&lt;/b&gt; 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.

« previous php.notes (#112933) next »