Please help me to get out of this ...🙁
i have a form with a preview button please somebody let me know how
to get back to the form if somebody presses the edit button
view.php
<?php
$addr=$_POST['address'];
echo'<form action=preview1.php method=post>';
echo $addr,'<input type=hidden name=address2 value="'.$addr.'">';
echo'<INPUT type="submit" value="Edit"/ name=edit>
<INPUT type="submit" value="Save"/ name=save>';
echo'</form>';
?>
preview1.php
<?php
$addr1=$_POST['address2'];
if(isset($_POST['edit'])) {
header('Location: quote.html');
}
?>
This is not returning the value to textarea.Please somebody help me