你是不是在保存的时候过滤过了?应该是保存以前用htmlspecialchars函数了。
htmlspecialchars函数把'&' (ampersand) becomes '&amp;' '"' (double quote) becomes '&quot;' when ENT_NOQUOTES is not set. ''' (single quote) becomes '&#039;' only when ENT_QUOTES is set. '<' (less than) becomes '&lt;' '>' (greater than) becomes '&gt;'