Syntax checker? Character replacing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux