&否 始终显示为特殊字符


&no always being displayed as special character

这可能是我问过的最愚蠢的问题,但我就是找不到解决方案......

我正在处理电子邮件通知,但我想在我的网站上向用户显示其通知列表,而不是编写通知。

现在在我的电子邮件中,我正在使用:

<iframe width=100%; height:100% src='http://www.mysite.com/newsfeed/index.php?email=true&user=".$to_id."&notification_type=messages'/>

但是我的电子邮件客户端 (mail.app) 不断将 &notification_type 中的 & 变成一个特殊的字符......

任何不涉及更改索引中的 $_GET 变量的想法.php?

您还需要在 url 中使用 html 特殊字符:

使用<a href=".&amp;user=....&amp;notification_type=.." >

使用此&amp;代替此&