Questo genera il value di un input

Codice PHP:
$ora    date("G:i");

echo 
"<input type=\"text\" value=\"".$ora."\" name=\"ora\"/>"
poi finisce in un VARCHAR(5)