I am trying to do that with a file input not a text box. So if anyone has
done this with a file input box please e-mail me!
-----Original Message-----
From: jason cox [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 13, 2001 4:24 PM
To: Brandon Orther
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Upload form
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 <[EMAIL PROTECTED]> 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
> [EMAIL PROTECTED]
> 800-994-6364
> www.webintellects.com
> --------------------------------------------
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> To contact the list administrators, e-mail:
> [EMAIL PROTECTED]
>
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]