Inserting that into the html causes <?php print strftime( to be echoed
inside the form field and " maxlength="8"> to show up just outside and
to the right of the form field. Thank you for your reply though - any
other ideas? :-)
Chris
On Thu, 14 Apr 2005 07:35:07 +0200, "Duyet The Vo" <me@nospam.net>
wrote:
<tr>
<td><b>Date:</b></td>
<td align="left"><input type="text" name="date" size="8"
value="<?php print strftime("%m/%d/%Y"); ?>"
maxlength="8"></td>
</tr>
"cover" <coverland914 @ yahoo.com> wrote in message
news:1113455064.964b98a30938694552c9c831174abe92@ teranews... Anyone know how to enter the time into a form or a website that might
tell how? I'm using the following html code and trying to get the
time to default into the text box. thanks
html code
<tr>
<td><b>Date:</b></td>
<td align="left"><input type="text" name="date" size="8"
maxlength="8"></td>
</tr>
php code
<? print strftime("%m/%d/%Y"); ?>