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
How to commit changes of a Typed Dataset to database at once
Getting group membership from LDAP
Windows Update site fails to load
VS 2003 with .NET Framework 3.5
Speeding up a simple UPDATE in Oracle SQL
OutlookAnywhere for Exchange 2007 - client keeps asking for credentials
Sync Access database contacts with Exchange Contacts list
Incremental search listbox w/ SQL Server w/ ability to append records to the serached table
phpbb forum
NULLS FIRST, NULLS LAST on order by