Jump to content

Php Date Code Help Needed


Guest

Recommended Posts

I have a form with a field for users to type in the current date. My question is, is there any way for me to have the current date to automatically populate in this field? Here's the code I am using:

 

<tr>

<td><b>Date Assigned (YYYY-MM-DD):</b> <br /><input type="text" name="date_assign" size="25" /><br />

</tr>

 

If I could get todays date to automatically pop in this that would be great! Thanks

Link to comment
https://forums.phpfreaks.com/topic/270700-php-date-code-help-needed/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.