|
Posted by paul814 on 10/30/07 15:45
I would like to populate the date text box on my html form with the
current date and time. here is what I have now:
How could I update this to automatically display the date and time in
this editorialdate field? I want it to be formatted correctly for
mySql DATETIME field.
<html>
<HEAD>
<TITLE>Daily Production Report / Editorial</TITLE>
</HEAD>
<BODY>
<form method="POST" action="editorial-report.php">
<p><img src="http://pooch/assets/ETN_intranet_r2_c2.jpg"></p>
Please enter report data and press the <b>SUBMIT</b> button
<br>
Date:
<br>
<input type="text" name="editorialDate" size="15" maxlength="25">
</BODY>
</html>
Navigation:
[Reply to this message]
|