Tag Archives: solution for ampersand-& spaces breaking the subject in mailto function in href

Ampersand-& spaces are breaking the subject in mailto function

Use the rawurlencode() function to solve this issue. Eg: suppose subject is coming from php scripts