RE: [PHP] How to prevent duplicated values?

From: Date: Thu, 29 Jan 2004 02:26:04 +0000
Subject: RE: [PHP] How to prevent duplicated values?
Groups: php.general 
Request: Send a blank email to php-general+get-176156@lists.php.net to get a copy of this message
Hello I think using UNIQUE is the way to go simply because of data integrety (<= how do you spell this??? ; ) ) If you don't use UNIQUE and you are not write locking your table you might accidently get duplicate Values. UNIQUE is the only way to prevent duplicate data without a lot of hassle. This doesn't mean you cannot check upon duplicates first, which I think is obsolete since you need to add error checking code anyway. Regards Stefan Langer

« previous php.general (#176156) next »