I am accessing an Access database with a CGI script, everything works but
for the problem that the results are in Tuple format when I "print" them as
an output to a browser client, could someone show me a better way to do
this or a work around?
##### My script###
#!C:/Python/python.exe -u
print "Content-Type: text/html\n\n"
import dbi, odbc
connection = odbc.odbc('minicms')
cur = connection.cursor()
cur.execute('select * from benutzer')
allrows = cur.fetchall()
print '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">'
print "<html>"
print "<head>"
print "<title>blank</title>"
print "</head>"
print '<body bgcolor="white">'
for dbfields in allrows:
print "<br>",
print dbfields
print "</br>"
print "</body>"
print "</html>"
################ end code ########
Thank you very much for your anticipated help
Sharriff Aina
_______________________________________________
ActivePython mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activepython