Sorry for double post but I think I have a solution. Here is an example of the str_replace() function and then i'll use your code and hopefully it works:
My Example:
PHP Code:
<?php
$author = "mike.froseth@onlydev.com";
$author = str_replace("@", "(at)", $author);
echo("Contact the author of this tutorial at $author.");
?>
That will result in the following:
"Contact the author of this tutorial at mike.froseth(at)onlydev.com
Now using your code:
PHP Code:
<?php
$mystring = $_SERVER['QUERY_STRING'];
$mystring = str_replace("&", "&", $mystring);
echo("whatever is needed here... $mystring");
?>
Let me know if that doesnt work. If it does, then awesome
If not let me know and i'll try something else. It might not work though because I havent seen the application/script yet and not sure if you are working with anything else. Lets hope it works though.