I am passing my string to PHP through AJAX using $.Ajax
.
I'm trying to pass this string:
action=abc¶meter=C&W
The AJAX splits the C&W
on the basis of &
, so the request comes in this format:
$action = "abc";
$parameter = "C";
How can I pass it as C&W
, without it being split into a different parameter?