[eluser]Unknown[/eluser]
hi, i am new to CodeIgniter.
i am using Validation class with 4pages forms like this
page1 -> page2 -> page3 -> page 4
Code:
$this->load->library('validation');
if ($this->validation->run() == FALSE) {
//show errors
} else {
//to next page
$this->page2();
}
function page2(){...}
function page3(){...}
function page4(){...}
it works fine with page1, but not page2 nor page3, page4
when i use redirect insteed of $this->page2(), validation works fine but $_POST[] returns "NULL";
Code:
redirect('page2', 'location');
is there any way i can use Validation class with multiple pages??
please help me!!
thanks