I use this in my controller,
function phpcalview()
{
$year = $this->input->post('yearvv');
$year1 = $year+1;
//echo $year1;
$this->load->view('phpcal',$year1);
}
How to $year1
value to my view phpcal
and get that value in the textbox yearvv