User birtday to show age

Started on the old forum in June 2010 · view the original in the archive · old links redirect here

3 replies · 419 views · started 16 years ago · 1 min read

3 participants
wap_king Developer · 126 posts #1

how do i use the user birthday to shw there age is use this but i get a lot of validated errors from it here it is

Birthday: (YYYY-MM-DD) <input type="text" name="birthday" format="*x" maxlength="12"/>

anyone has a better coding can share?

something else Fellow · 2,296 posts #2

Lose the format="*x" or even better use drop down boxes

wap_king Developer · 126 posts #3

well my sql is Birthday var(50)

i dnt knw how to make the drop down boxes work like that....help me out please

khan Lead · 681 posts #4
<select name="month" value="01-"> <option value="01-">Jan</option> <option value="02-">Feb</option> <option value="03-">Mar</option> <option value="04-">Apr</option> <option value="05-">May</option> <option value="06-">Jun</option> <option value="07-">Jul</option> <option value="08-">Aug</option> <option value="09-">Sep</option> <option value="10-">Oct</option> <option value="11-">Nov</option> <option value="12-">Dec</option> </select>

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close