|
Posted by J.O. Aho on 08/08/06 03:47
Chris wrote:
> I am also having an issue with dates - I have a js calendar pop-up for
> selecting the date to insert into a text box. It is formatted to show the
> date as mm/dd/yyyy.
I would avoid this, as the date will be based on the users miss configured
computer, send the form input as empty value and populate the date in the php
script.
> However, the dates in the mySQL db show as yyyy-mm-dd,
> and I have noted that when I try to input a new date into the database via
> the form, all the db shows is 0000-00-00.
It's always a good idea to input the data in the same way as it's displayed.
//Aho
Navigation:
[Reply to this message]
|