MySQLdb not updating rows
Lawrence D'Oliveiro
ldo at geek-central.gen.new_zealand
Sun Jul 2 01:45:06 EDT 2006
In article <1151506244.690864.252850 at d56g2000cwd.googlegroups.com>,
"Bowen" <simon at xiano.co.uk> wrote:
>In article <e7u2ua$jie$1 at online.de>, Benjamin Niemann <pink at odahoda.de>
>wrote:
>
>>Another side note: don't build your queries using (dumb) string formatting,
>>let the MySQLdb module do it for you.
>
>Thanks for that tip, it's a simple script that I am experimenting on,
>planning to build a custon gui for my database. It is defin[i]tely
>something for me to note in the future.
Best get into the habit of doing careful quoting NOW, not "in the
future". Otherwise you will inadvertently leave yourself open to an SQL
injection attack at some point in the future.
More information about the Python-list
mailing list