> I actually think I know part of this answer...  I don't think you
> need to define a variable to insert into your "date" field.  Inserting an
> empty value into this filed will populate the field in the database with
> current time, which it appears from your code is what you are trying to do
> here.  Try changing the field name and give that a shot.  I think I am
> actually right here though.

Well, kind of. :)

This will only happen if the column is a TIMESTAMP column. It does not work
that way for DATE, TIME, or DATETIME columns.

But... we're getting off-topic. :)

---John Holmes...

PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to