php as default "value" in html
| From: | Andy B | Date: | Sun, 04 Apr 2004 15:12:40 +0000 |
| Subject: | php as default "value" in html | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-182279@lists.php.net to get a copy of this message | ||
hi...
i have the following html line:
<input type="text" name="referred" value=<?echo
$old['Referred'];?> accesskey="d" id="id-referred">
the php variable $old['Referred'] was pulled from a mysql table. the full string that this
variable holds is "I work for you..." but when used as a default value in an input text
field for html the only part that shows up in the form itself is "I". is there anything
going on that im missing somewhere??