Nasıl form değerleri korumak mı?

0 Cevap php

Bu gibi görünümü yükler bir denetleyici var: -

    class A extends Controller{
        public function simpleForm(){
          //this generates the form
        }

        public function simpleFormSubmitted(){
          //simple form is submitted here. Here i perform validation and if validation   fails i 
//want to display simpleform again with all the values inputted by the user as it is and 
//if validation succeeds i want to redirect to some other page.
// I am using simple HTML to generate the form and not the formhelper of codeigniter 
//because i am more comfortable with HTML rather than remembering the syntax of codeigniter.
        }
    }

Şimdiden teşekkürler :)

0 Cevap