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

java - How to Configure JAXRS and Spring With Annotations -

visual studio - TFS will not accept changes I've made to a Java project -

php - Create image in codeigniter on the fly -