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
cross domain javascript
PHP MySQL SELECT OPTGROUP parent value
Batch file to modify a text files
IDE / Sata Connections
Saving attachments from Lotus iNotes 8.5.1 on Windows 7
Service manual for Brother intellifax 4100e.
802.1q trunk
unknown/unauthorized user profiles on Server 2008
Problems with accessing the Server "H drives" for users accounts
what is the best linux distro and ide for web programming (PHP) ?