开发者

How to pass value from datepicker to database?

by using form and post method in my program. It seems like my values of calendar are not a开发者_Python百科ble to insert into my database. I'm using jquery's datepicker and php to code. Please advice. Thanks


chances are your database is structured with a date format or datetime format. This is fine, but you will have to change the format of the date in the jquery UI after it is posted. Therefore if you have it as 12/19/2010 it would have to be changed to 2010-12-19 for the database to accept it. This is just a random guess since I don't know much more from your question.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜