RE: [PHP-DB] Can't Insert more than 1 record

From: Date: Thu, 03 Apr 2003 22:51:01 +0000
Subject: RE: [PHP-DB] Can't Insert more than 1 record
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-26824@lists.php.net to get a copy of this message
> Hello All, > > I am having a problem inserting records > into my Database. I am passing fields > from a FORM to my php program that adds > 1 record to my DB. It will create the > first attempt just fine, however any > attempt after the 1st fails. I have > to delete the existing row in order > to add a new record. > > Anyone know what I am doing incorrectl? > > KJ Do you have unique indexes on your table? On each insert are you sure that the unique index columns are actually unique? What errors do you get on the second++ inserts? Rich

« previous php.db (#26824) next »