SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Jun 2001
    Location
    North Coast NSW Australia
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Can't enter Date of Birth after 2004

    Hi there
    I have a problem with my program
    It keeps club data, and a date of births is essential.
    It has worked fine for quite a few years, but now that people born after 2005 are involved - it has created a problem !!
    If I enter a year after 2004, it will revert to that year (which can then be edited and changed, no problems !!)
    ie - If I enter 2004 as year of birth (this is from a drop down list that starts at 1933 !!), all is fine, but, if I enter 2006 as year of birth, it reverts to 2004 in the database - (it will accept 2006 if it is then edited to that)!!!
    I have been over the code heaps, but can't understand it !!
    Any ideas !! Very frustrating, and needed for the club data !!
    I suffered a stroke a while back and am now just trying to maintain this for the clubs involved - harder to think clearly now
    Thanks for your help !!

  2. #2
    From Italy with love silver trophybronze trophy
    guido2004's Avatar
    Join Date
    Sep 2004
    Posts
    9,496
    Mentioned
    163 Post(s)
    Tagged
    4 Thread(s)
    If you have to choose the year from a dropdown box, changes are the code that receives thar form data and stores it in the database, does some kind of verification.

    Could you post that piece of code here?

  3. #3
    SitePoint Member
    Join Date
    Jun 2001
    Location
    North Coast NSW Australia
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Thumbs up

    Thanks for answering - just found the error !!!
    So simple - but uor reply prodded me to look again !!!
    Thanks heaps !!


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •