mardi 27 février 2018

In codeignitor how to pass the array variable to next page without store in database


I was posting the values in CodeIgniter and store in array I need the array values in next page is there any possible way to do that (without storing in database)

   function next()
         {   

     if(isset($_POST) && count($_POST) > 0)     
    {  

            $data = array(
                'job_type' => $this->input->post('job_type'),
                'job_partner' => $this->input->post('job_partner'),
                'job_manager' => $this->input->post('job_manager'),
                'job_owner' => $this->input->post('job_owner'),

            );
                      $this->load->view("ca_recuring_job/cust_page", $data);
                    redirect(base_url()."ca_recuring_job/cust_page".$data);
                        }else{
           $data['_view'] = 'ca_recuring_job/add';
           $this->load->view('layouts/main',$data);
    } 

   }

i need array values in next page without storing into database if anybody come over this please help me. thanks in advance



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire