Multiple File uploading issue

I am trying to use the multiple file upload library of codeigniter.The files are uploading fine but when i use validation on these file it does not give me the required results.Here is my code.

        $config['upload_path'] = './news/';
        $config['allowed_types'] = 'doc|docx|pdf';
        $config['max_size'] = '2048';
        $config['remove_spaces']= TRUE;
        $this->load->library('upload',$config);//i think the issue is here
        $files = $this->multi_upload->go_upload();
            $data['page_title']="Add news";
        else {
Please help.Thanks in advance

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.