Posted:
Mon Feb 19, 2007 4:52 pm (17 years, 9 months ago)
Hi all,
Am designing a form in PHP and want to be able to submit dates into a database using PHP and mysql
In the form I want to add a full date using DD MM YYYY Dropdowns.
For Example I have one dropdown on the form for Day, one for Month, and one for year, and these need to be put into the same field on the database in a table. I know how to do DD MM YY with dropdowns for one dropdown but not with multiple.
They need to b saved in the database in DD-MM-YY HH-SS form, for example.
19-02-07 16:53 would be today. Can someone give me the code I would need?
The dates would need to be manually input by the user and not pre-set.
You cannot post new topics in this forum. You cannot reply to topics in this forum. You cannot edit your posts in this forum. You cannot delete your posts in this forum. You cannot vote in polls in this forum.