title: How to set image path in image tag using PHP
body: <p>I need one help.I need to set the image path after fetched from DB inside image tag using PHP.I am explaining my code below.</p>
  
  <pre><code>$getcustomerobj = $dbobj-&gt;getNewsData($id);
  div class="input-group bmargindiv1 col-md-12"&gt;
  &lt;span class="input-group-addon ndrftextwidth text-left"&gt;Upload Image :&lt;/span&gt;
  &lt;input type="file" class="filestyle form-control" data-size="lg" name="newsimage" id="newsimage" onChange="javascript:addImage(event,'img','disImage');"&gt;
  
  &lt;/div&gt;
  &lt;div id="disImage" style="display:none;"&gt; 
  &lt;div class="input-group bmargindiv1 text-right col-md-12" &gt;
  &lt;img src="uploads/"'.&lt;?php echo $getcustomerobj-&gt;image ?&gt;.' name="pro" id="img" border="0" style="width:50px; height:50px; border:#808080 1px solid;" /&gt;
   &lt;/div&gt;
  </code></pre>
  
  <p>Here i am getting the data from DB using <code>$getcustomerobj</code> but unable to display it.Please help me.</p>