My PHP page is accepting a parameter in the URL. This parameter is being assigned to a variable as follows:
$msg = $_REQUEST["msg"];
When the HTTP request is sent to the website, the parameter is sent as "hello'", but when it gets to the PHP variable above it becomes "hello\'".
Why is the backslash being inserted and what is inserting it? Is it the web server? How can I prevent this happening?