Skip to main content
Participant
May 7, 2006
Question

Insert Date into Database

  • May 7, 2006
  • 1 reply
  • 267 views
Ok, how do I get Dreamweaver to insert a date into a database.
I have an HTML Form with 3 different Drop-Down Menus (month, date, year) so people can select their birthdate. I want that in turn to go into the database under the 'Date' format.
Is there a way to do this? Or will I just have to have 3 seperate fields within the database itself for month, date and year?
Thanks
This topic has been closed for replies.

1 reply

Inspiring
May 7, 2006
The simplest way is to concatenate the fields then insert as Date.

Pat.


"mako18" <webforumsuser@macromedia.com> wrote in message
news:e3k5eh$48p$1@forums.macromedia.com...
> Ok, how do I get Dreamweaver to insert a date into a database.
> I have an HTML Form with 3 different Drop-Down Menus (month, date, year)
> so
> people can select their birthdate. I want that in turn to go into the
> database
> under the 'Date' format.
> Is there a way to do this? Or will I just have to have 3 seperate fields
> within the database itself for month, date and year?
> Thanks
>