Microsoft
Software
Hardware
Network
Question : showing incorrect date
hello
can someone tell me why if i look in myphpadmin, it shows that a null date field if no data is entered is 0000-00-00 but when i display the page it reads: 30-11-1999. how do i correct this? many thanks
Answer : showing incorrect date
forgot one parenthesis! Sorry, this is the stuff that always slows me down.
1:
$destroydate=(is_null($row['destroydate'])) ? NULL : date("D M Y", $row['destroydate']);
Random Solutions
fiddling nose habit
Login control design and Programming
How to Protect a Client connection to remote SQL Server Database
Portable Air Conditioner Question.
How do I put integers into a string?
Cisco ASA 5520
Cannot get dos to recognise 'nmake' variable
POP UP error in MS-CRM
VirtualInfrastructure.Util
s.HttpWebR
equestProx
y' threw an exception.
Wireless Access Point - Hard Plastics Protective Cover