in reply to Database Error? DBD:MySQL:DB DO failed: Duplicate entry '0' for key '1' at
You're not setting $servproID anywhere in your code, which is why MySQL sees it as undef, which it chopses to interpret as zero. If you had been using strict, that error would have been caught. Printing your SQL is also very helpful in such situations.
|
|---|