Fetching values from url and displaying them
Hi I have following url from which I am trying to extract values.
http://xxxxxx.com/Confirm.aspx?vCode=123xyzd33eed&emailAddress=xxx@hotmail.com&
I am trying to extract the values of vCode and emailAddress to display in
the appropriate fields.
<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" />
The above code doesnt display the values of vCode and emailAddress. Any
ideas how to fix it? Thanks
No comments:
Post a Comment