date problem

From: Date: Thu, 14 Mar 2002 06:15:33 +0000
Subject: date problem
Groups: php.db 
Request: Send a blank email to php-db+get-17670@lists.php.net to get a copy of this message
i have an input field in a form that accept date called $date and in databse i made it of type $date so its defualt is 0000-00-00 the problem is when i say: if($date!="0000-00-00") {do something} he doesn't understand $date!="0000-00-00" Rehab M.Shouman ------------------------------------------------------------ ------------------------------------------------------------ --------------------------------------------------------------------- Express yourself with a super cool email address from BigMailBox.com. Hundreds of choices. It's free! http://www.bigmailbox.com ---------------------------------------------------------------------

« previous php.db (#17670) next »