Re: Avoiding Repeat Posts

From: Date: Sat, 04 Jan 2003 17:34:59 +0000
Subject: Re: Avoiding Repeat Posts
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-130237@lists.php.net to get a copy of this message
Michael J. Pawlowsky wrote:
Why not create a unique constraint with the userid, day (without time) and post content. Is it going in a DB?
Index on text columns does not seem very efficient, IMHO. If he wants to avoid multiple inserts, the random unique ID is enough.

« previous php.general (#130237) next »