Thanks a bunch. That fixed me right up. Still learning a lot about
PHP and MySQL. Hopefully I will be able to remember this as I am sure this
issue will come up for me again in the future.
From: 1LT John W. Holmes [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 20, 2002 2:47 PM
To: NIPP, SCOTT V (SBCSI); 'Aaron Wolski'; [EMAIL PROTECTED]
Subject: Re: [PHP-DB] INSERT question...
> $query = "INSERT INTO accounts (`id-sys`, rtime) VALUES('".$accnts."',
Remove the quotes around NOW(). It's a function, not a string.
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php