hello all,
i'm using php 5 and mysql 5 to develop a website. i have a database that stores application for vacancies and i used email address field as primary key. so for uniquness purpose i want to alert back a user to use another email address in case he/she tries to apply more than once using the same email address....what i tried was to take the supplied email filed on my vacancy page and compare it with all previously stored email fields in my database and to alert back if i get.
but it didn't work as i thought it to be...pls help.
i can post my code if needed
thank you guys!


