February 2, 201016 yr I'm having a few problems working with dates (i.e. html inputting, storing in mySQL and outputting in PHP). Ideally I just want a simple text input in the form of [DD] [MM] [YYYY] and for the data to be stored and recalled in this fashion. I don't really want a Javascript calender picker either. How is this usually done? Thanks
February 2, 201016 yr One way would be to use strtotime and date() [edit] You can see how I've done it here - probably there's a quicker way, but this works: http://notbanksy.wordpress.com/2009/06/19/php-mysql-gig-listing-script-tutorial-part-1/
Create an account or sign in to comment