Re: MySQLdb and cgi

2005-10-31 Thread robert
I am sending it again, since it didn't appear on the mailing list.  Dear group, I have a problem with importing MySQLdb in a cgi-script. The code fragment at the beginning:   1 #!/usr/bin/env python   2   3 print "Content-Type: text/html\n\n"   4   5 import re   6 import cgi

MySQLdb and cgi

2005-10-30 Thread robert
 Dear group, I have a problem with importing MySQLdb in a cgi-script. The code fragment at the beginning:   1 #!/usr/bin/env python   2   3 print "Content-Type: text/html\n\n"   4   5 import re   6 import cgi   7 import MySQLdb 8 print "something" but the print statemen