Re: INSERT question...
| From: | 1LT John W. Holmes | Date: | Wed, 20 Nov 2002 20:46:38 +0000 |
| Subject: | Re: INSERT question... | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-23535@lists.php.net to get a copy of this message | ||
> $query = "INSERT INTO accounts (
id-sys, rtime)
> VALUES('".$accnts[0]."',
> 'NOW()')";
Remove the quotes around NOW(). It's a function, not a string.
---John Holmes...