![]() |
|
|
|
|
|
|
2
8th November 03:47
External User
Posts: 1
|
This has nothing to do with PHP, but the first parameter to date_format
should not be in quotes. -Stut -- http://stut.net/ |
|
|
7
8th November 03:48
External User
Posts: 1
|
There is not PHP in this question.
But to save you subscribing/posting/unsubcribing to the MySQL list: You put apostrophes on 'contract.length_start' which makes it a literal DATE. MySQL silently ignores such a stupid-looking date, and makes it NULL. Take away the apostrophes on the FIELD NAME and all will be good. -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/from/lynch Yeah, I get a buck. So? |
|