You are currently viewing archive for 05 July 2008
07/05: htmlspecialcharsの逆の処理
Category: General | Posted by: ayumi$html = "<img src='/media/20080705.gif' />";
$html1 = htmlspecialchars($html);
$html2 =htmlspecialchars_decode($html1);
echo $html1;
表示結果:<img src='/media/20080705.gif' />
echo $html2;

