I am trying to fix this simple coding problem for many days, but its not working everytime, I am posting in hope that some one will help this time.
I am having two pages Page1.php and Page2.php. Page1 is having a text box when I enter some code here its not receiving exactly in Page2 everytime its missing some characters, because of that I am not able to use the received code in Page2.
<form name="f1" method="post" action="/Page2.php"> <input type=text name=url> <input type=submit> </form>
<?php echo stripslashes(html_entity_decode($_POST['url'])); ?>
I entered below value in Page1's text box
In Page2 I am getting the below value
ie. '&' is received as '&' in Page2.
My expectation is to receive whatever text/code I enter in Page1's textbox should be received as it is with out any changes in Page2.