I want to pass \'&\' operator in query string. I tried to use urlencode and urldecode but its not working. I am doing this:
$abc=\"A & B\"; $abc2=urlenc
& is a special HTML characters, you need to convert it to &.
&
Try this:
$abc = "A & B";