Re: Date Question
| From: | root | Date: | Thu, 04 Apr 2002 02:07:41 +0000 |
| Subject: | Re: Date Question | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-18180@lists.php.net to get a copy of this message | ||
It would seem that on the page that you post your form to, you'll need to
have a $date = date( "m.d.Y" ); to generate the actual date value.. That is
if I understand correctly the date() function and the question.
Later,
Bob Weaver
----- Original Message -----
From: "Jennifer Downey" <jendowney@attbi.com>
To: <php-db@lists.php.net>
Sent: Wednesday, April 03, 2002 5:26 PM
Subject: [PHP-DB] Date Question
> Hi all,
>
> If I have a feild called 'date' and the type is date when a form is
> submitted isn't it suppose to automatically enter the date or do I need to
> somehow enter it through the form?
>
> The reason I ask is that I have another form with a date type and no
> reference to it in the form and it is always entered. With this new form
the
> date is not entered into the db.
>
> Any ideas why?
>
>
> TIA
> Jennifer
>
>
>
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.344 / Virus Database: 191 - Release Date: 4/2/2002
>
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>