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
PHP MySQL SELECT OPTGROUP parent value
Install 2nd insatnce of MS SQL 2008
IDE / Sata Connections
Starting letters with XXX
ID3 algorithm implementation in JAVA or c++
802.1q trunk
Windows 2008R2 static ports for ntds/rpc/ntfrs
Problems with accessing the Server "H drives" for users accounts
what is the best linux distro and ide for web programming (PHP) ?
AIX DB2 error