html tag in php variables
given a php variable
$a="<b>hello</b>";
echo $a;
//prints <b>hello<b>
But I want it to pr开发者_运维百科int hello in bold with the formatting. Please tell me what I should do...
echo "<b>" . $a . "</b>";
oh, you edited your code. what you have should work.
精彩评论