FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Problem setting Date field in MySQL
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Problem setting Date field in MySQL [message #178299 is a reply to message #178271] Wed, 30 May 2012 11:43 Go to previous message
Captain Paralytic is currently offline  Captain Paralytic
Messages: 204
Registered: September 2010
Karma:
Senior Member
On May 26, 12:56 am, Robert <m@@reservices....@gmail.com> wrote:
> Hello,
>   I am having an issue with creating a database record and saving dates into the record. I have a form the user
> enter's dates.
Since when do plurals have an apostrophe?
> set to '0000-00-00'. I've attempted to use the Date() function and change the format of the dates to 'Y-m-d',
> however that does not work either.
"Does not work" is as useful as a description of what the problem is
as a chocolate teapot is to making tea. I would say that you most
likely didn't use it correctly, but since you haven't shown us what
you tried, we have no way to know.


> I've included the code below, if there is anything unclear or any help anyone
> can provide, please feel free to ask or email me. I've been pulling my hair out tring to figure out where I've
> screwed this up. Thanks!!!
You've included code that shows you trying to enter a non-ISO format
date into what we must assume is a date field and telling us that it
doesn't work. Not much help...
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Saving a three-dimensional array to the mysql database.
Next Topic: How best to print an array to table?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Mon Jul 01 08:02:03 GMT 2024

Total time taken to generate the page: 0.05664 seconds