I'm trying to reutilize code that generates FILE fields for use when something is to be added to the database, and grayed out (and disabled) with data already in the database when the item in question is being edited or viewed in detail. However, I can't seem to get the text to fill the field. I'm using this:
echo '<input type="file" name="small[]" value="' . $value_from_database . '" DISABLED><br>';
Am I missing anything? If not, are there any decent workarounds?