Posted By


brownrl on 11/18/10

Tagged


Statistics


Viewed 552 times
Favorited by 0 user(s)

PHP getDateSelect


/ Published in: PHP
Save to your folder(s)

Here is a little bit of code I use from time to time to make a generic some what safe date selector for forms. I wanted something easy, small, and not relying on images, jquery, libraries, etc... Most importantly I wanted the date that was selected to be in INT format for storing directly into the database as an INT. Mind you the point of this snippet is the function, not the example tester code.

URL: http://www.itsgotto.be

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.