By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,950 Members | 1,032 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,950 IT Pros & Developers. It's quick & easy.

how to insert value of datepicker into mysql database

P: 1
Sir would like to know how to insert date, month and year selected from datepicker into mysql database thorugh php.
I am trying to store the value of datepicker but it shows 00-00-00 kindly help with code.
Jan 9 '12 #1
Share this Question
Share on Google+
1 Reply


Dormilich
Expert Mod 5K+
P: 8,639
I am trying to store the value of datepicker but it shows 00-00-00 kindly help with code.
seems like you try an invalid date format for inserting. MySQL usually uses YYYY-MM-DD for its DATE type.
Jan 9 '12 #2

Post your reply

Sign in to post your reply or Sign up for a free account.