嗨,我有以下 url,我试图从中提取值。
http://xxxxxx.com/Confirm.aspx?vCode=123xyzd33eed&emailAddress=xxx@hotmail.com&
我正在尝试提取 vCode 和 emailAddress 的值以显示在适当的字段中。
<input type="text" id="Text1" name="validationCode" value="<? echo htmlspecialchars($_GET["validationCode"]); ?>" placeholder="validationCode"/>
<input type="text" id="emailAddress" name="emailAddress" value="<? echo htmlspecialchars($_GET["emailAddress"]); ?>" placeholder="Email Address" />
上面的代码没有显示 vCode 和 emailAddress 的值。任何想法如何解决它?谢谢