Forums

PHP

This topic is locked

Insert Date Problems

Posted 17 Feb 2003 19:13:55
1
has voted
17 Feb 2003 19:13:55 Scott Kadera posted:
I have a form where users can insert dates, this is typically not the currentl date. I know I could use JavaScript ot validate the form, but I was wondering if it is possible to split the date field in my form into three separtate fields and then join them into one field in the database. It this possible?

Replies

Replied 19 Feb 2003 17:58:42
19 Feb 2003 17:58:42 Brent Colflesh replied:
Dear S_kadera,
Better to mask the input so it gets inserted in the MySQL time format - then you can use code to display it in any format you need.

Regards,
Brent

Reply to this topic