Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- MySQL date, and time entry issues.
October 17, 2006, 9:02 am
rate this thread
Re: MySQL date, and time entry issues.
As long as you make the code so that it puts the date into the MySQL
database in the correct format, it shouldn't matter how you choose to
get the information from the user. I personally use 3 or 4 dropdown
boxes, one for the day name (if applicable), one for the week day of
the month, one for the month, and one for the year. My script
dynamically generates the dates it needs to put into the boxes when
needed, and validates it on submition.
If you were really feeling creative, it should be quite simple for you
to create your own calander, using PHP's built-in time and date
functions. This way it works and looks how you want it, rather than how
someone else felt it should look, and be used, and you can always add
more to it or remove functionality if you make it a class.
- » Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service not kn...
- — Previous thread in » PHP Scripting Forum
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — The site's Newest Thread. Posted in » Secure Shell Forum