RE: [PHP-DB] Duplicate keys...

2003-01-16 Thread NIPP, SCOTT V (SBCSI)
poorly coded piece of software, and if I as a relative PHP newbie know this, it is really bad. -Original Message- From: John W. Holmes [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 15, 2003 10:07 PM To: NIPP, SCOTT V (SBCSI); [EMAIL PROTECTED] Subject: RE: [PHP-DB] Duplicate keys

RE: [PHP-DB] Duplicate keys...

2003-01-15 Thread John W. Holmes
> OK, I cannot figure out why I keep getting errors about "Duplicate > entry for key 1". Someone please come to my rescue here as this is truly > kicking my but. You have a key or unique column in your table that you're trying to insert a duplicate value into. > if ($dateDiff == 2) { >

[PHP-DB] Duplicate keys...

2003-01-15 Thread NIPP, SCOTT V (SBCSI)
OK, I cannot figure out why I keep getting errors about "Duplicate entry for key 1". Someone please come to my rescue here as this is truly kicking my but. if ($dateDiff == 2) { mysql("$DBName","INSERT INTO phpCalendar_Details VALUES ( '$said','Comp day for weekend On-Call