CodeIgniter Forums
Gallery with products - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: Gallery with products (/thread-31307.html)



Gallery with products - El Forum - 06-14-2010

[eluser]marcoslavorato[/eluser]
Hello all. I got a problem with my system workflow. I have a image gallery that uses a ajax upload solution, that save in my database the images of my product. This upload happens before I got the product ID, to relate with this imagens.

Someone done something like this?


Gallery with products - El Forum - 06-14-2010

[eluser]Simian Studios[/eluser]
Why not split it into two sections - first, add all the product data and save it to the DB, then you can use your uploader with the correct product ID, no problems.

That's the way I'd do it anyway..


Gallery with products - El Forum - 06-14-2010

[eluser]marcoslavorato[/eluser]
Thanks Simian. This is my plan B, to do this done. I think that have other solution.


Gallery with products - El Forum - 06-14-2010

[eluser]Simian Studios[/eluser]
No problems, would be interested to see plan A if you can share?