PHP mySQL database check

Posted by kielie on Stack Overflow See other posts from Stack Overflow or by kielie
Published on 2010-04-14T09:09:27Z Indexed on 2010/04/14 9:13 UTC
Read the original article Hit count: 334

Filed under:
|
|
|

Hi guys, I am having endless troubles with duplicate entries, so I need to check the database, and if a user has already entered that day, their entry will not be submitted and they will be redirected to a landing page that tells them they have already entered that day, and that they may only enter again tomorrow.

The field I would like to check is the id_number field in the database, since each user has a unique id number, so basically, if a user with the same id number submitted on the same date they should be redirected to a landing page, how would I go about doing this? I am still new to a lot of this, so please be forgiving.

Thanx in advance.

© Stack Overflow or respective owner

Related posts about php

Related posts about mysql