Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Entering the date as default within a form
April 14, 2005, 3:04 am
rate this thread
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
<td align="left"><input type="text" name="date" size="8"
<? print strftime("%m/%d/%Y"); ?>
Re: Entering the date as default within a form
What is the name of the file containing the HTML? If it is xyz.html or
xyz.htm then your webserver doesn't know to send the file through PHP
to be processed, unless you've told it to. Make sure the name of your
file is xyz.php and then try it again.