I haved removed the quotes and when it is by itself it works just fine
$date = date("Y-m-d H:i");
echo "$date";
2004-05-15 16:20
but I put it in a a form it only displays the date and not the time
Time:
size="50">
still only displays
2004-05-15
"Torsten Roehr" <[EMAIL PROTECTED]> wrote in mess
"Torsten Roehr" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> "Ronald "The Newbie" Allen" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > Here is my problem:
> > When I get the value of $date and I echo it it shows up just fine
> >
> > $date = date("Y-m-d H:i");
>
"Ronald "The Newbie" Allen" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Here is my problem:
> When I get the value of $date and I echo it it shows up just fine
>
> $date = date("Y-m-d H:i");
> echo "$date";
> 2004-05-15 16:20
>
> but when I go to insert the value into a form like
3 matches
Mail list logo