Hello all.
I have the problem of not knowing the terminology of php enough to find the answer on my own so I am hoping someone can point me in the right direction.
What I have is a mysql database which is being loaded with data from a form on my website using php.
The fields are id, email, ip and date. What I need to do is insure that a person only enter their email address (and only one email address per person) once per day maximum.
The way I figure this should be done is by comparing the email address and ip address to the date when they fill in the form. So if the ip address or email has already been entered into the database on that given day, a message saying that they need to return the following day is returned.
Any help would really be appreciated.
Thanks