Re: Tutorial on Re-filling form data?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



A question about PHP language that can be solved with PHP language, is
better to not be answered talking about another language.


El 23/06/17 a les 17:23, jomali ha escrit:
> You should submit the form data via AJAX, validate the data, then send back
> a message indicating acceptance or rejection of the data.
> 
> On Thu, Jun 22, 2017 at 2:15 PM, leam hall <leamhall@xxxxxxxxx> wrote:
> 
>> Using PHP 5 and not OOP savvy.
>>
>> I have a form that gives the user options. On submit it calls itself
>> and if the $_POST variable is set produces the result of the form
>> choices. However, it currently resets all the form options to default
>> values.
>>
>> Is there a tutorial somewhere on how to keep the existing form choices
>> in place, unless the user changes the selection and resubmits?
>>
>> Thanks!
>>
>> Leam
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
> 

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




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux