Re: Can't Insert more than 1 record

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

 



HAR!

Ok, seriously though, does your script return an error of any kind?  Sounds
like you are violating a primary or unique key in the second insert.

What database engine are you using?

=C=
----- Original Message -----
From: "Leif K-Brooks" <eurleif@buyer-brokerage.com>
To: "Keven Jones" <keven_jones@hotmail.com>
Cc: <php-db@lists.php.net>
Sent: Thursday, April 03, 2003 5:13 PM
Subject: Re:  Can't Insert more than 1 record


> I haven't used my psychic powers for a while, but I think the problem is
> on line 35.
>
> Keven Jones wrote:
>
> > 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
> >
> >
> >
> >
> >
> > _________________________________________________________________
> > Tired of spam? Get advanced junk mail protection with MSN 8.
> > http://join.msn.com/?page=features/junkmail
> >
> >
>
> --
> The above message is encrypted with double rot13 encoding.  Any
unauthorized attempt to decrypt it will be prosecuted to the full extent of
the law.
>
>
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
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