Value is incremented by two instead of one
Posted: Thu Oct 16, 2008 4:36 am
Hi,
I've written a small function within a class. The method grabs a value from the database and, if it's present, increments it by one. If it's not present a new record is inserted. Easy huh? However, when I call the function the value is incremented by two! What on earth is going on here?
SNIP--
I'd be grateful for any help with this one. Many thanks in advance.
Bob.
~~ I've just realised that this is a browser issue.
I've written a small function within a class. The method grabs a value from the database and, if it's present, increments it by one. If it's not present a new record is inserted. Easy huh? However, when I call the function the value is incremented by two! What on earth is going on here?
SNIP--
I'd be grateful for any help with this one. Many thanks in advance.
Bob.
~~ I've just realised that this is a browser issue.