RE: Can't Insert more than 1 record

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux