What do you mean by "This isn't even adding"? There's no
addition in your code. If you mean that no data is added
to the table, two things: first, you are not doing an
INSERT but an UPDATE, and second, you are never doing
an
. All you are doing is a prepare,
and you discard the returned statement handle.