I am writing the code for editing a form that contains an input file field. I am getting all the values pulled from database for different field types but the file type input does not show its value.
I have a code that looks like this:
<input name="edit_cmpny_logo_name" id="edit_cmpny_logo_id" type="file" class="inputfield span2" onchange="clearmessage()" onselect="clearmessage()" value="<?=$edit_row_details_arr[0]['LOGO_FILE'];?>" title="<?php echo lang('Size of Logo should be 4KB to 10KB.');?> <?php echo lang('Upload only .bmp, .gif, .jpg, .jpeg, .png Files');?>"/>
How do I load the value of input type when someone is editing the form and can see the old image/file and edit/replacing with the new image/file .