Daniel Winkler
mailings at danielwinkler.de
Tue Sep 20 18:19:15 EDT 2005
Hello Jorey, Am Dienstag, den 20.09.2005, 17:58 -0400 schrieb Jorey Bump: > You're mixing python string replacement with placeholders. You need to > escape the placeholders (and the semicolon isn't necessary here): > > acl.execute("SELECT * FROM acl WHERE c = %%s AND d = %%s", (cID, dID)) What kind of "placeholders" do you mean? Just to be sure: I did not want to use SQL placeholders. Okay, I tried your version, but unfortunately the error was the same ... Thanks for your quick answer. Any other ideas? :-) Daniel
|