MichiganRon
MIS
I am frustrated at a seemingly simple task.
I have a date field (0000-00-00) in a mysql database. The user enters his/her birthday into three separate text boxes (month, day, & year). After validation, I want to combine these three values into one variable and add that variable to the database.
The validation works. I just can't seem to get the three values to combine into a format (unix timestamp) which the database will accept. I have tried various combinations of
,
, &
.
HELP!!
Frustrated,
-Ron![[mad] [mad] [mad]](/data/assets/smilies/mad.gif)
-We are all given the same deck of cards, it's how we play the hand we are dealt which makes us who we are.
I have a date field (0000-00-00) in a mysql database. The user enters his/her birthday into three separate text boxes (month, day, & year). After validation, I want to combine these three values into one variable and add that variable to the database.
The validation works. I just can't seem to get the three values to combine into a format (unix timestamp) which the database will accept. I have tried various combinations of
Code:
mktime()
Code:
date()
Code:
strtotime()
HELP!!
Frustrated,
-Ron
![[mad] [mad] [mad]](/data/assets/smilies/mad.gif)
-We are all given the same deck of cards, it's how we play the hand we are dealt which makes us who we are.