خرید بک لینک

Vote count: 0

I have a problem when passing two variables into URL. it works fine in localhost, but not in hosting (linux hosting)..

i use form_open(); in view

and the controller (pickup.php) :

function verifikasi($request_id,$unik)
        {
                $pickup = $this->input->post('pickup');

            $this->load->model('excel');
        $this->load->model('request');    
                        $data['results']   =   $this->request->pickup($request_id,$unik);       
                foreach ( $data['results'] as $key) 
                {
                        $req_id=$key['req'];
                        $data['undg'][$req_id]   =   $this->excel->info($req_id); 
                        foreach ($data['undg'] as $value) 
                        {
                        if (isset($_POST["pickup"])) 
                                {
                                                $date = array(
                                                        'status'                    => '2',
                                                        'address'                       => $this->input->post('from_address'),
                                                        'lat'                           => $this->input->post('lat'),
                                                        'lon'                           => $this->input->post('lon'),
                                                        'pickup_time'                   => date ("Y-m-d H:i:s",strtotime($pickup))
                                                    );
                                        $this->db->where('request_Id', $request_id);
                                        $this->db->update('request', $date); 
                                        $date = array(
                                                         'from_address'       =>   $this->input->post('from_address'),
                                                    );
                                        $this->db->where('request_Id', $request_id);
                                        $this->db->update('excel', $date);   
                                        $data['msg'] = "SUKSES !!! Kami akan Menghubungi anda.";
                                               
                                        }
                                }
                }

        $this->load->view('info',$data); 
           
        }

is there any additional value that I should put in the form_open() ?

asked 45 secs ago

برچسب: نویسنده: استخدام کار تاريخ: سه شنبه 14 ارديبهشت 1395 ساعت: 11:09

صفحه بندی