on Wed, Jun 18, 2003, Matt Palermo wrote:

>I have a forms page that a user will fill out.  When it is submitted, it
>checks to see if any of the field entries entries are empty, and if so,
>it has a die() statement that has a link (javascript:history.back())
>which sends the user back to the form page.  However, when they go back
>to the form page, all the entries they made are erased and they need to
>redo everything.  Is there and easy way to have them go back with all
>their previously inputted data still filled in?  Let me know.


I'm a newbie to PHP so this may not be the correct way to do this, but it
works:

<input type="text" name="firstname" size="24" value="<? echo
$_POST['firstname'];?>"> 


Ian


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to