Results 1 to 6 of 6
Thread: Can't insert date to MySQL....
Dec 10, 2000, 05:22 #1
- Join Date
- Dec 2000
- The flat edge of the world
- 0 Post(s)
- 0 Thread(s)
I've used the following command, is it correct?
<input type="hidden" name="date" value="<?php echo date("d M, Y") ?>">
I was hoping that when the user submits the form, the date in the format of 11 Dec, 2000 would be enter to MySQL, but nothing shows up in the database.
The date field in MySQL is set to VARCHAR (14) not null