Page 1 of 1

Question finding users age

Posted: Wed Sep 09, 2009 1:45 pm
by wb31
I am trying to find out do. I have a form where a user enters the year they were born. How do I subtract the current year from the year a user was born to get their age using PHP? Thanks

Re: Question finding users age

Posted: Wed Sep 09, 2009 2:06 pm
by Eric!
Look for the code posted by me (Eric!) in this thread
viewtopic.php?f=1&t=102259

Re: Question finding users age

Posted: Wed Sep 09, 2009 2:36 pm
by wb31
Thanks, that helped! :)