Advanced Form Processing HELP

From: Date: Thu, 23 Aug 2001 12:24:17 +0000
Subject: Advanced Form Processing HELP
Groups: php.general 
Request: Send a blank email to php-general+get-64027@lists.php.net to get a copy of this message
Hello ! I have a simple form ("feedback.php") that could allow users to send me seedbacks... the form is processed(email is sent ) by the script "confirm.php". My question is : How could i make the values filled in the form remain unchanged even after the user click on the browser "Refresh/Reload" button without submittingf the form ? So , I would like the user not to loose the data he has filled in the form ...even after a realod.... My idea is to pass the vulues of $smane , $smail etc in the URL during the reload.. but I still don't know how to get it done ... Here is may "feedback.php" <form method="post" action="confirm.php"> <input type="text" NAME="sname" value="<?echo $sname?>" > <br> E-Mail: <input type="text" NAME="smail" value="<?echo $smail?>"> <br> To: <input type="text" NAME="rname" value="<?echo $rname?>" > <br> message:<TEXTAREA NAME="message" WRAP="VIRTUAL" ROWS="4" cols="60" value="<? echo $message?>" ></TEXTAREA> <br> <input type="submit" value="Send"> </form> Thanks in advance ... Arcad.

« previous php.general (#64027) next »