⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Multiple file upload under an ID



tofayelahmed
  • profile picture
  • Member

Posted 01 September 2012 - 08:42 AM

[size=4]Hi![/size]
[size=4]In my project, I need uploads 2 or 3 files under a single id. [/size]
[size=4]But I have no idea how this solved.[/size]
[size=4]Help!![/size]
:unsure:

avambro
  • profile picture
  • Member

Posted 13 May 2013 - 21:51 PM

did you run the multiple file upload , I need a solutions :S 


davidoster
  • profile picture
  • Member

Posted 13 May 2013 - 22:04 PM

This can't be done with the current version of Grocery CRUD.


likhon3k
  • profile picture
  • Member

Posted 14 May 2013 - 03:46 AM

Hi!
In my project, I need uploads 2 or 3 files under a single id.
But I have no idea how this solved.
Help!!
:unsure:

You can solve your problem by the following way. this is one kind of solution.

 

1) Controller use this:

 

           $crud->set_field_upload('upload_file_url','assets/uploads/photograph');
            $crud->set_field_upload('upload_file_url2','assets/uploads/biodata');

 

 

2) Create directory: 'biodata' and 'photograph' at 'assets/uploads' location

 

3) create two field in your table:

 

upload_file_url = varchar (255)

upload_file_url2=varchar(255)

 

4. Now run this.


khayeseah
  • profile picture
  • Member

Posted 31 May 2018 - 06:31 AM

hi please help, multi uploader is displaying empty