title: How can we give condition if image is already in database and do not update again?
body: <p>code:</p>
  
  <pre><code>if($_FILES['logo']['name']!='')
  {
      echo "&lt;label for='Category_category_active' class='required'&gt;University Logo&lt;/label&gt;
             &lt;input type='file' name='logo'  id='logoo'&gt;&lt;span style='color:red;' disabled&gt;Current Logo:&lt;/span&gt;&amp;nbsp;".$logo."";
  }
  else
  {
      echo "&lt;label for='Category_category_active' class='required'&gt;University Logo&lt;/label&gt;
            &lt;input type='file' name='logo'  id='logoo'&gt;&lt;span style='color:red;' disabled&gt;Current Logo:&lt;/span&gt;&amp;nbsp;".$logo."";
  }
  if($_FILES['uni_image']['name']!='')
  {
      echo "&lt;label for='Category_category_active' class='required'&gt;University Image&lt;/label&gt;
            &lt;input type='file' name='uni_image'  id='uni_image'&gt;&lt;span style='color:red;' disabled&gt;Current Image:&lt;/span&gt;&amp;nbsp; ".$uni_image."";
  }
  else
  {
      echo "&lt;label for='Category_category_active' class='required'&gt;University Image&lt;/label&gt;
            &lt;input type='file' name='uni_image'  id='uni_image'&gt;&lt;span style='color:red;' disabled&gt;Current Image:&lt;/span&gt;&amp;nbsp; ".$uni_image."";
  }
  </code></pre>
  
  <p>When I click on submit button file image name doesn't show. So how do I check if file image name is already in the database which can't be updated.</p>