<div>Well, what I did was this:</div>
<div> </div>
<div>            content = col_fields[0][14].tostring()<br>            pic = "tmp" + str(i) + ".jpg"<br>            img = open(pic, "w")<br>            img.write(content)<br>            print '<img src="%s"><br /><br />' % pic<br>
            img.close()<br></div>
<div>where I am incrementing i. Ugly. Stupid. But if it is the only way to do it in python, and I do not want to invest the time doing it in php, which I think would be prettier in this instance, then I guess it will do. Your thoughts appreciated.</div>

<div>Victor</div>