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.
In reply to Re: Database Error? DBD:MySQL:DB DO failed: Duplicate entry '0' for key '1' at
by Corion
in thread Database Error? DBD:MySQL:DB DO failed: Duplicate entry '0' for key '1' at
by jdlev
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |