Forums
This topic is locked
How to combine several fields to one db field
Posted 24 Jun 2005 04:31:43
1
has voted
24 Jun 2005 04:31:43 Eirik Kulo posted:
Hi!I'm having a problem with one of my update fields where the user is supposed to enter his birthday. There are three menus (day, year & month). When the user updates his profile, a script is needed to combine the birthday into this format: YYYY/MM/DD and make this the real field which ultimately is updated into the db.
I don't need help writing a script to combine the dates, however I can't find out how to submit it to the database without having to go to a second page and submit from there.
Can anybody be of any assistance?
Replies
Replied 24 Jun 2005 15:18:54
24 Jun 2005 15:18:54 adam partridge replied:
use the "command" function in dreamweaver and build your variable before inserting