Codice PHP:
$data date(d-m-Y);

echo 
'<input type="text" name="data" value='.$data.'>'
salvo errori nella formattazione della data!!