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 do
You can just make value field empty and show your old image at just up of that input field(or below).then check after submitting form, if$_POST['userfile'] is empty don't update table.picture_name.