note 26307 deleted from function.date by philip

From: Date: Sat, 26 Oct 2002 22:33:10 +0000
Subject: note 26307 deleted from function.date by philip
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-38605@lists.php.net to get a copy of this message
I accidentally came across an easy way to insert the date into a field automatically using the date function (I was initially going to do it with javascript) <input type="text" name="date" value="<? echo date("m/d/Y", $ANYVALUE) ?>"> It is great because while using the form to either edit or enter a new record I can replace $ANYVALUE with the date I'm going to be editing (if that makes sense...)

« previous php.notes (#38605) next »