⚠ 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 insert



christian1988
  • profile picture
  • Member

Posted 11 February 2012 - 10:34 AM

Hi,
i have this two tables:

Producs:
- id
- name
- price
- image

Images
- idProd
- image

I need to insert into the second table a multiple number of entry.
For the Producs.image i use this code and work very well:


$crud->set_field_upload('image','assets/uploads/files');


but how can i do this for the multiple insert?
I need this second table for save the images of each product...
Thanks

web-johnny
  • profile picture
  • Administrator
  • 1,166 posts

Posted 12 February 2012 - 11:23 AM

Till now there is not such a feature in grocery CRUD. You can just upload one file only.

christian1988
  • profile picture
  • Member

Posted 12 February 2012 - 15:00 PM

[quote name='web-johnny' timestamp='1329045814' post='495']
Till now there is not such a feature in grocery CRUD. You can just upload one file only.
[/quote]

Thanks, i hope you will implement it because this library is amazing and with that features will be perfet for all my project :)