Reply to Pulling in current date and time?

Your name:

Reply:


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>

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация