peterbarone Posted November 3, 2005 Share Posted November 3, 2005 Hello I have a simple database that holds some dates. I can input the data with phpMyAdmin. I would like to do this with a form on my site. I can't get it to work so I started to download pre made blog scripts to learn what I was doing wrong. Then didn't work either so I figure I must have something wrong with mysql setting ? Where do I start ? Any help would be great Quote Link to comment https://forums.phpfreaks.com/topic/2793-cant-write-to-database-through-a-form/ Share on other sites More sharing options...
ryanlwh Posted November 3, 2005 Share Posted November 3, 2005 what is the data type you set for the date? DATE, DATETIME, or TIMESTAMP?? or it's just VARCHAR?? Quote Link to comment https://forums.phpfreaks.com/topic/2793-cant-write-to-database-through-a-form/#findComment-9341 Share on other sites More sharing options...
peterbarone Posted November 3, 2005 Author Share Posted November 3, 2005 what is the data type you set for the date? DATE, DATETIME, or TIMESTAMP?? or it's just VARCHAR?? 314495[/snapback] date Quote Link to comment https://forums.phpfreaks.com/topic/2793-cant-write-to-database-through-a-form/#findComment-9342 Share on other sites More sharing options...
ryanlwh Posted November 3, 2005 Share Posted November 3, 2005 format the date to YYYY-MM-DD Quote Link to comment https://forums.phpfreaks.com/topic/2793-cant-write-to-database-through-a-form/#findComment-9343 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.