RE: [PHP-DB] Issue with date() function...

From: Date: Fri, 10 Jun 2005 16:06:22 +0000
Subject: RE: [PHP-DB] Issue with date() function...
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-39648@lists.php.net to get a copy of this message
show your code...is the field set as a time field or what? bastien
From: "Chase" <php@micfiles.com> To: php-db@lists.php.net Subject: [PHP-DB] Issue with date() function... Date: Fri, 10 Jun 2005 10:01:16 -0600 I have a variable:
    $rec2day = date("Y-m-d");
that displays correctly when echoed to the screen, but when I write it to my
DB, I get the mathmatical answer to the equasion (1989 (2005-06-10)). What do I need to do to correct this?? TIA -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.db (#39648) next »