I want to pass & operator in query string. I tried to use urlencode and urldecode but its not working. I am doing this:
$abc="A & B";
$abc2=urlencode($abc);
然后,我顺从这样的价值。
<a href="hello.php?say=<?php echo $abc2 ?>"><?php echo $abc;?></a>
页: 1
$abc=$_GET[ say ];
$abcd=urldecode($abc );
echo $abcd;
但产出不是<代码>。 A & B
我做了什么错误?