Tag Archives: use of rawurlencode() in mailto 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