Re: "echo" and "html_decode"
| From: | John W. Holmes | Date: | Wed, 21 Jul 2004 15:34:19 +0000 |
| Subject: | Re: "echo" and "html_decode" | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-191328@lists.php.net to get a copy of this message | ||
Karl-Heinz Schulz wrote:
I'm trying to use html_decode with the echo function but failed so far. <? echo mysql_result($product, 0,1) ?> What would be the correct syntax?Huh? I don't see "html_decode" anywhere and the function is html_entity_decode(), anyhow. If you want to run the above through the function, then: <?php echo html_entity_decode(mysql_result($product,0,1)); ?> Otherwise we'll need some more information. My crystal ball is currently loaned out. -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals – www.phparch.com