User birtday to show age

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    User birtday to show age

    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?
    Last edited by wap_king; 28.06.10, 21:54.

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

    Comment


      #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

      Comment


        #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>
        Last edited by khan; 29.06.10, 06:34.

        Comment

        Working...
        X