Sean Keesler
smkeesle at syr.edu
Fri Oct 29 22:54:21 EDT 2004
The "results" returned is a list of arrays. So: b = MySQLdb.connect('localhost', 'root', 'tux5098nyu', db='imagehost') c = db.cursor() c.execute("select * from users;") results = c.fetchall() for user in results: req.write(str(user[0]) + str(user[1])) return apache.OK
|