Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

use ampersand in query string

They need to be percent-encoded:

> encodeURIComponent('&')
"%26"
So in your case, the URL would look like:

http://www.mysite.com?candy_name=M%26M
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #ampersand #query #string
ADD COMMENT
Topic
Name
3+4 =