PHP邮件添加';' 到URL

We have a cronjob running in our mail server which gives us a URL. The code (of the URL) is:

<a href=\"http://example.com/?page=show_user&id=".$account->ID."\">http://example.com/?page=show_user&id=".$account->ID."</a>

When the cronjob progresses and we get the mail, the URL shows up like:

http://example.com/?page=show_user&id;=1

So the cron adds an additional ; the code which we don't want.

I tried this already:

http://example.com/?page&#61;show_user&id&#61;

But still no success. Is there any way to 'strip' that semicolon or prevent it appearing?

I think problem is that cron job tries to handle &id as HTML entity (which should always end with ";"). Maybe you should use HTML entities in HTML code, so cron job will recognize them.

URL should be

<a href=\"http://domain.com/?page=show_user&amp;id=".$account->ID."\">http://domain.com/?page=show_user&amp;id=".$account->ID."</a>