title: not able to update input type file value
body: <p>1)i am adding image and its title in database 
  but if i submit form for  first time it works but again without selecting the image when its pre selected from first submit </p>
  
  <p>2) submiting form 2nd time takes image value null or is empty(updating image)</p>
  
  <pre><code>&lt;form  method="post" enctype="multipart/form-data"&gt;
  &lt;div id="photoselect_box"&gt;
  &lt;h5 id="logo_head"&gt;Profile Image&lt;/h5&gt;
  &lt;script&gt;
  function profile_imagee(input){
  $('#profile_image')[0].src = (window.URL ? URL :webkitURL).createObjectURL(input.files[0]);
  }
  &lt;/script&gt;
   //input image preview
  &lt;img src="&lt;?php $path = "download/items/$uid/"; echo $path.$userRow['profile_image']; ?&gt;" id="profile_image" alt="profile photo"  name="profile_image" /&gt;
  
  
  &lt;input type="file" id="img_file" name="profile_image" onChange="profile_imagee(this);"
   value="&lt;?php echo $userRow['profile_image']; ?&gt;" /&gt;
  
  &lt;/div&gt;
  
  // i am able to update this input after clicking submit
  &lt;input type="text" id="download_content1"  name="download_content1" value="&lt;?php echo $userRow['download_content1']; ?&gt;" &gt;
  
  &lt;/form&gt;
  </code></pre>
  
  <p>i cannot update the image value in database after submiting form for 2nd time
  php code</p>
  
  <pre><code>include_once '../../database/conn.php';
  $res=mysqli_query($bd,"SELECT * FROM organisation);
  $userRow=mysqli_fetch_array($res); 
  $email=$userRow['email'];
  
  if (isset($_POST['register'])){
  
  
  //inserting  logo  image
  $profile_image=$_FILES['profile_image']['name'];
  $profile_image_temp=$_FILES['profile_image']['tmp_name'];
  // changing the destination required folder according to users unique id
  $path = "download/items/$uid/";
  @mkdir($path, 0666, true);  // Create  upload folder.
  move_uploaded_file($profile_image_temp,$path.$profile_image);
  
  
  
   //updating image in database
   $insert="UPDATE organisation SET profile_image= '$profile_image',download_content1 = '$download_content1 '
   WHERE email = '$email'";
  
  $insert_pro = mysqli_query($bd,$insert);
  }
  </code></pre>