PHP Today's date in form
I've got several text boxes in a form that are the input to a SQL query. I
need one of the boxes to auto populate with today's date but can't get it
to work :
<td align="left"><INPUT TYPE="text" MAXLENGTH="10" SIZE="10"
NAME="To_Date" id=To_Date value="'.date("m/d/y").'"/></td>
displays the following in the text box:
'.date(
Help is much appreciated!
Cheers,
Rene
No comments:
Post a Comment