[Solved] Problems uploading 2 images on one form. - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: [Solved] Problems uploading 2 images on one form. (/showthread.php?tid=13665) |
[Solved] Problems uploading 2 images on one form. - El Forum - 12-01-2008 [eluser]mikka23[/eluser] I have a form with two file inputs to upload images. My problem is uploading the second one. How do I upload two images and also retrieve the info for each upload separately (filename etc.)? All help is appreciated. At the moment only the first image is uploaded. The filepath for the first image is also shown where I expected the second file path to be. In my controller: Code: $config['upload_path'] = './uploads/'; Form: Code: <h2>Add New Work</h2> [Solved] Problems uploading 2 images on one form. - El Forum - 12-01-2008 [eluser]mikka23[/eluser] Just noticed the image manipulation class. Codeigniter is awesome! EDIT NEW PROBLEM: Displayed in original post [Solved] Problems uploading 2 images on one form. - El Forum - 12-03-2008 [eluser]mikka23[/eluser] I encountered a new problem and instead of starting a new thread just changed the content in this one. Any help is greatly appreciated. I can't seem to work this one out :S |