PHP mail adds ';' to URL -


we got cronjob running in our mail server gives url code (of url) is:

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

when cronjob progresses , mail, url shows like:

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

so cron adds additional ; code don't want.

i tried already:

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

but still no succes, anyway 'strip' semicolon or prevent it?

i think problem cron job tries handle &id html entity (which should end ";"). maybe should use html entities in html code, cron job recognize them.

url should

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

Comments

Popular posts from this blog

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -

java - JavaFX 2 slider labelFormatter not being used -