Re: Upload form
| From: | jason cox | Date: | Wed, 14 Feb 2001 00:24:05 +0000 |
| Subject: | Re: Upload form | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-39538@lists.php.net to get a copy of this message | ||
Brandon,
You can set a default value for a form field by doing
something like the following:
<code>
<input type="text" name="field1" value="<? echo $var1;
?>">
</code>
Hope that helps,
Jason
--- Brandon Orther <brandon@webintellects.com> wrote:
> Hello,
>
> This is off topic, but I have been working on it all
> day with php and can't
> seem to figure it out. Does anyone know how to give
> a file field in a form a
> default value? I am trying to have a script
> automatically fill in some
> upload fields on my form.
>
> Thank you,
>
> --------------------------------------------
> Brandon Orther
> WebIntellects Design/Development Manager
> brandon@webintellects.com
> 800-994-6364
> www.webintellects.com
> --------------------------------------------
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail:
> php-general-unsubscribe@lists.php.net
> For additional commands, e-mail:
> php-general-help@lists.php.net
> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/