How bizarre, I cant get it to do it again.
I changed the everything back to what it was and now its just throwing an error. I guess you must be right and I had a strange problem when I was catching (or maybe not catching) the exception.
I was catching Exception, rather than PDOException - does this make much difference? I guess I should read about it and use it instead.
Either that or I'm raving mad and/or tripping out. :eek: