![]() |
Multiupload image width descreption image...??? - 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: Multiupload image width descreption image...??? (/showthread.php?tid=24251) |
Multiupload image width descreption image...??? - El Forum - 11-04-2009 [eluser]memVN[/eluser] now I think i want to add some fields for the image, like title and description… Do anyone have idea how to loop array of fields and insert it into database.. For example: image1 - title1 - desc1 image2 - title2 - desc2 image3 - title3 - desc3 Code: <input type="text" name="pic_title[]" value="" /> Multiupload image width descreption image...??? - El Forum - 11-05-2009 [eluser]memVN[/eluser] Who can help me.????????? Multiupload image width descreption image...??? - El Forum - 11-05-2009 [eluser]Derek Allard[/eluser] Hi memVN, I've moved your post to a different forum. Let's start by modifying your example a bit Code: <input type="text" name="pic_title[1]" value="" /> Now let's take the db out of the equation for a moment, if you had your above example submitted, what would your controller code look like to just echo out to the screen all of the pic_titles? |