Re: Very easy
| From: | Morten Dreier | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: Very easy | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-829@lists.php.net to get a copy of this message | ||
On Mon, 3 Jul 2000, Enrico Comini wrote:
> It'easy, but I don't Know how is possible.
> I have a form in a html page (page.html) in this form the users insert data
> (name, address ecc) .I make the validation of this variables in a php3 page
> (insertuser.php3) . If in the validation I find a non valid field how is
> possible go to the page.html WITH THE ORIGINAL VALUE of the INPUT ?
One way is to post all the old variables as variablename_orig as hidden
fields, and process it from the old ones if they are not valid.
--
Morten Dreier
Institutt for Datateknikk og Informasjonsvitenskap
http://www.ifi.ntnu.no/~mdreier/