date entry in php

Soldato
Joined
6 Apr 2008
Posts
3,352
Location
Reading
I want to enter a date into php with drop down boxes, then format it correctly for mysql. Then pass it to my other php file that adds the array of information to my database.

How do I got about doing this????

just the drop down boxes and sql format form that.

all I have so far is how to enter the boxes and these get put straight into an output form.

thanks in advance.
 
Would help if you told us what formats you actually want.

I assume you mean something like 29 March 2009 -> 34534532432 -> 29 March 2009?

If that's the case then just look at the date() command, plenty of tutorials around.
 
Just look on php.net . That site will tell you everything you need to know.
 
Back
Top Bottom