> 1) The mySQL text data ($description) won't populate my form.  I'm using
> <textarea> input, and it just won't accept and display the value of
> $description.  It's empty, and when the form is re-submitted after editing,
> it empties the $description variable.

How are you printing the value?  With textarea you need to do:
<textarea><?php echo $description;?></textarea>
instead of:
<textarea value="<?php echo $description;?></textarea>

> 2) I also have image uploads in my form, and the <type=file> inputs will not
> accept values, either.  Same problem as above .. the empty input areas cause
> the image names to be deleted from my database when the form is edited and
> re-submitted.

You can't assign a value to a type=file field.  If you could, you would
be able to upload whatever file you wanted from a user.  If you have to
pass the value, try a hidden field and then have it reassign if no file
was uploaded.
-- 
Jason Stechschulte
[EMAIL PROTECTED]
--
Let's say the docs present a simplified view of reality...    :-)
             -- Larry Wall in  <[EMAIL PROTECTED]>

-- 
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]

Reply via email to