Re: Keep posted data
| From: | Sascha Kaufmann | Date: | Sun, 21 Sep 2003 13:30:06 +0000 |
| Subject: | Re: Keep posted data | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-21474@lists.php.net to get a copy of this message | ||
well, maybe you can use this
<input type="text" name="field" value="<?php if ($_POST['field'])
{ echo $_POST['field']; } else {} ?>">
regards
Sascha
ascll wrote:
Greetings, I'm using <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post"> to post the data on my form to the database. Once I posted the data, those data disappear from the form. So, is that a way for me to keep my posted data on the form? Thanks in advance. ascll ascll@yahoo.com