In your many to many relationship video tutorial, close to the end, you put in a little snippet of sql to check for duplicate entries (event). You breezed right over it and I can't find anything on it. Can you post an example of that code here? (MySql)
Thanks