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
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php