Syntax checker? Character replacing
| From: | Terion Miller | Date: | Fri, 06 Mar 2009 20:05:10 +0000 |
| Subject: | Syntax checker? Character replacing | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-289482@lists.php.net to get a copy of this message | ||
I have this and think maybe something is off, because if there is an amp (&)
in the location then it only displays a comma , and nothing else:
if (isset($_SERVER['QUERY_STRING'])) {$Page .= ($_SERVER['QUERY_STRING']?
'?'.
str_replace("&","&",$_SERVER['QUERY_STRING']) :
'');}
is that wrong?