please help,
i'm a newbie in web development,
i using codeigniter + this tutorial :
https://github.com/blueimp/jQuery-File-Upload/wiki/jQuery-File-Upload-9.5-with-CodeIgniter-2.1.4to make a web, but i need to store file data record to database which i found hard..
i try to use this method :
$this->method_name->insert_file($data);
$data = array(
'item' = > 'item',
'etc' = > etc');
$this->db->insert('table',$data);
and the controller is like this..
$this->method_name->insert_file($this->upload->data());
$data = $this->upload->data();
i try a lot of different simple method that should work on ordinary form, but only output
Syntax:Error JSON.parse, When trying to load data for protovis
so i search, and found this tutorial :
https://github.com/blueimp/jQuery-File-Upload/wiki/PHP-MySQL-database-integrationi found it hard to implement cause i using Codeigniter..
please can some one make a simple solution for me..
what i wanted is just save upload record to database
sorry for my bad english
thank you