First off, good simple to follow code. Really great to see code a beginner can follow - thanks.
My question regards insert data into the database, how exactly do you stop duplicates from being added to the table?
Probably a stupid question, but I'm brand new to this coding lark. :o)