RE: [PHP] Stopping Multiple Entries in mySQL DB

2002-07-27 Thread John Holmes
> I just want my Adding Into Database script to check if > the Name/Country already exists, and if it does, it > shouldn't be allowed. > > If some with > Name : Jackson > Country : USA > exists in my DB, no one with same name/country should > be able to add his name/country in the DB. Have your

Re: [PHP] Stopping Multiple Entries in mySQL DB

2002-07-27 Thread Chris Earle
do that plus with your insert, just do "INSERT IGNORE ". "John Holmes" <[EMAIL PROTECTED]> wrote in message 01c2358a$bd729fc0$b402a8c0@mango">news:01c2358a$bd729fc0$b402a8c0@mango... > > I just want my Adding Into Database script to check if > > the Name/Country already exists, and if

RE: [PHP] Stopping Multiple Entries in mySQL DB

2002-07-29 Thread Thomas Edison Jr.
Hi, Ok i cant actully do this. I have many multiple entries already in the table which i do not wish to delete. And it won't alter table with these multiple entries. So what i need is a PHP Engineered solution, where my PHP code would check for existing entries and deny entry Thanks, T. Edi

Re: [PHP] Stopping Multiple Entries in mySQL DB

2002-07-29 Thread 1LT John W. Holmes
> Ok i cant actully do this. I have many multiple > entries already in the table which i do not wish to > delete. And it won't alter table with these multiple > entries. > > So what i need is a PHP Engineered solution, where my > PHP code would check for existing entries and deny > entry So d