2016-12-08 4 views
1

問題が残っています。私のコントローラーからQuickbloxユーザーを削除できません。 コードを手伝ってもらえますか?codeigniterを使用してQuickBloxからユーザーを削除してください

マイコントローラ機能は、私はQuickBloxテーブルに格納されquick_idに基づいてユーザを削除する必要が

public function delete_customer($id) 
    { 

    $query = $this->db->select('quick_id')->from('tbl_customer') 
           ->where('id',$id) 
           ->get(); 
     $quick_id = $query->row_array(); 

     $q_id = $quick_id['quick_id']; 

     $get_img_file = $this->customer_model->check_by(array('id' => $id), 'tbl_customer'); 


     $this->customer_model->_table_name = "tbl_customer"; // table name 

     $this->customer_model->_primary_key = "id"; // $id 

     $this->customer_model->delete($id); 


     if(file_exists($file) == 1) 

      unlink($file); 



     // messages for user 

     $type  = "success"; 

     $message = "Customer Successfully Deleted !"; 

     set_message($type, $message); 

     redirect('admin/customer/customer_list'); //redirect page 

    } 

あります。 これを達成する方法???これで私を助けてください。

答えて

1

これは、あなたが のために、それはあなたがこの Quickblox

を使用することができ、識別子だことにより、ユーザーを削除助けるかもしれない応答を待ってい

................

関連する問題