Re: What am I doing wrong here?

From: Date: Wed, 27 Dec 2000 12:20:28 +0000
Subject: Re: What am I doing wrong here?
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-31953@lists.php.net to get a copy of this message
*********** REPLY SEPARATOR *********** On 27/12/2000 at 13:06 K.Simon wrote: >Hi, >i was looking for something similar and this example helped me very well (sometimes somebody has >to stick your nose into it). >Now, if there's double data it doesnt get inserted into the table, BUT it doesnt display >any errors. How can i get it to display me that this particular data couldn't get inserted (for >whichever reason)? >Thx. > >*********** REPLY SEPARATOR *********** > >On 26/12/2000 at 9:34 Lynn Siprelle wrote: > >>>ie- >>>create table Users (testname char(50) UNIQUE, another_field char(20), >>>yet_1_more int(3)); >> >>OK, I'd seen that in the MySQL manuals but didn't understand what it was for. >>Thanks. >> >>Lynn >>-- >>Lynn Siprelle, Siprelle & Associates: Web Construction and Publishing >>Chief Assoc. Josephine b. 9/9/97 * New Assoc. Louisa due 5/1/01 >>Business: lynn@siprelle com | Personal: lynsa@siprelle.com >>The New Homemaker: http://www.newhomemaker.com/ >> >>-- >>PHP General Mailing List (http://www.php.net/) >>To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net >>For additional commands, e-mail: php-general-help@lists.php.net >>To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > > >-- >--------------------------------------------------------------------- >Please check >"http://www.mysql.com/documentation/manual.php" before >posting. To request this thread, e-mail mysql-thread59977@lists.mysql.com > >To unsubscribe, send a message to: > <mysql-unsubscribe-mysql=zabia.net@lists.mysql.com> > >If you have a broken mail client that cannot send a message to >the above address (Microsoft Outlook), you can use: > http://lists.mysql.com/php/unsubscribe.php

« previous php.general (#31953) next »