Welcome Guest, Not a member yet? Register   Sign In
jQuery multiple image uploader insert in to database
#1

[eluser]Wonder Woman[/eluser]
I'm currently using jQuery's Multiple image uploader for my form in CI. This works superbly however I would like to insert the file names, etc in to the database - anybody any ideas how I can do this?

My controller

Code:
$config['upload_path']   = './uploads/';
$config['allowed_types'] = 'gif|jpg|pdf|doc|bmp|png';
$config['max_size']      = '2024';
$config['max_width']     = '1024';
$config['max_height']    = '768';
        
$this->load->library('upload', $config);
$this->load->library('Multi_upload');

$files = $this->multi_upload-go_upload();
$data = array('upload_data' => $files);

My View

Code:
<input type="file" name="images[]" size="20" class="multi" id="images" maxlength="5" />

Any help that would great, thanks.




Theme © iAndrew 2016 - Forum software by © MyBB