gyrcom
08-09-2008 04:51:52
I have been using a MySQL database with ogre and I have run into something that is puzzling.
the first c.execute works and the second does not. What the heck am I doing wrong?
c.execute("""SELECT * FROM HAA""")
print c.fetchone()
c.execute ("""SELECT * FROM '%s' """, ("HAA",))
print c.fetchone()
Thanks
the first c.execute works and the second does not. What the heck am I doing wrong?
c.execute("""SELECT * FROM HAA""")
print c.fetchone()
c.execute ("""SELECT * FROM '%s' """, ("HAA",))
print c.fetchone()
Thanks