Re: Datetime help in an INSERT...
| From: | CPT John W. Holmes | Date: | Wed, 04 Jun 2003 19:59:38 +0000 |
| Subject: | Re: Datetime help in an INSERT... | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-28311@lists.php.net to get a copy of this message | ||
> 2. Place single quotes within your VALUES parens, e.g.
If they are really strings. Integers or dates in a YYYYMMDD format do not
require quotes.
> $denylog = "INSERT INTO deny (account, td, datefield ) VALUES ('$tmp',
> '$td', NOW() )"
---John Holmes...