Posted by MattMika on 10/03/07 22:53
I have an admin page where auth'd users upload a csv file for
insertion of email addresses into a unique field in a mySQL DB.
Using "INSERT IGNORE" how do I track the occurence of an ignore?
I'd like to print a message saying something like "X email addresses
were duplicates and were not inserted into the DB."
I believe ignore are written to binary log file. Is there a way to
track these writes to the log file for output to a php error message?
TIA
Matt Mika
Navigation:
[Reply to this message]
|