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.


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to