From: "Chris W. Parker" <[EMAIL PROTECTED]>

> I should instead just try to perform the INSERT and then if it fails I
> know I've already got a record. If it doesn't I know everything is cool.

If it is a certain kind of failure, then you have a duplicate, otherwise it
could be another type of failure/error. Use mysql_errno() to make sure you
catch the right error as a duplicate.

---John Holmes...

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

Reply via email to