Re: Missing Images

2009-12-27 Thread Victor Subervi
On Sat, Dec 26, 2009 at 4:52 PM, Carsten Haese wrote: > Victor Subervi wrote: > > Right. Thank you again. I'd forgotten to put in > > enctype="multipart/form-data". Now I have the following snipped: > > > > for pic in ourPics: > > sql = 'update %s set pic%d=%s where ID="%s";' % (stor

Re: Missing Images

2009-12-26 Thread Carsten Haese
Victor Subervi wrote: > Right. Thank you again. I'd forgotten to put in > enctype="multipart/form-data". Now I have the following snipped: > > for pic in ourPics: > sql = 'update %s set pic%d=%s where ID="%s";' % (store, i, > (MySQLdb.Binary(pic),), id) > print sql > #

Re: Missing Images

2009-12-26 Thread Victor Subervi
On Sat, Dec 26, 2009 at 11:28 AM, Carsten Haese wrote: > It's hard to say what you have missed, since you're not giving us nearly > enough information to determine what you haven't missed. So, we can now > either beg for more information, make random guesses, or point you at a > code example that

Re: Missing Images

2009-12-26 Thread Carsten Haese
Victor Subervi wrote: > For some reason, I'm not able to upload images to insert into my > database. Here's my html: > > Picture #1 > > > > > Picture #2 > > > > > Here's the code from the page that processes the data from the preceding > form: > > i = 0 > for

Missing Images

2009-12-26 Thread Victor Subervi
For some reason, I'm not able to upload images to insert into my database. Here's my html: Picture #1 Picture #2 Here's the code from the page that processes the data from the preceding form: i = 0 for picsStore, num in pics().iteritems(): if picsStore ==