Ive written a simple competition form that, upon submission, gets added to a mysql database. Part of the competition is submitting a short secret found code that can only be submitted once per user.
Is there a way that, prior to successful submission, i can check if that email address has submitted that particular code already? ...and then notify the user with a message or take him to a web page that tells him so?
thank you so much in advance!