Can't put the whole date in a text box?
Posted: Fri Jan 31, 2003 3:07 pm
I grab the date like this :
$today = date("F j, Y");
then I put it in a text box like this:
echo 'Date <input type="text" name="date" value='.$today.'>';
It works but I only see the month, the day and year doesn't shoe in the text box. However it shows when I echo it. Why?
$today = date("F j, Y");
then I put it in a text box like this:
echo 'Date <input type="text" name="date" value='.$today.'>';
It works but I only see the month, the day and year doesn't shoe in the text box. However it shows when I echo it. Why?