4WebHelp
 FAQ  •  Search  •  User Groups  •  Forum Admins  •  Smilies List  •  Statistics  •  Rules   •  Login   •  Register
Toggle Navigation Menu

 Dates in PHP
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic
Author Message
WebMonkey2008
Junior WebHelper
Junior WebHelper


Joined: 19 Feb 2007
Posts: 1

PostPosted: Mon Feb 19, 2007 4:52 pm (17 years, 2 months ago) Reply with QuoteBack to Top

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.

Thanks
OfflineView User's ProfileFind all posts by WebMonkey2008Send Personal Message
Display posts from previous:      
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic


 Jump to:   




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.


Page generation time: 0.111558 seconds :: 18 queries executed :: All Times are GMT
Powered by phpBB 2.0 © 2001, 2002 phpBB Group :: Based on an FI Theme