title: How to Display Image which is stored on the server referenced through MySQL
body: <p>I have a form which lets users upload an image in PHP, and the image is then stored in a file located in my root folder called 'avatars', but it is referenced in my main MySQL table - this is the processing bit in my php.</p>
  
  <pre><code>move_uploaded_file($_FILES["clogo"]["tmp_name"],
  "avatars/" . $_FILES["clogo"]["name"]);
  </code></pre>
  
  <p>What i want to do is display this image next to the relevant entry but i'm having difficulty with it. Below is how i am displaying other information from the table (having performed the query to that table and stored everything in $rsjobinfo)</p>
  
  <pre><code>&lt;li id = "compname"&gt;&lt;?php echo $rsjobinfo['company_name'];?&gt;&lt;/li&gt;
  </code></pre>
  
  <p>I was trying this but its obviously wrong!</p>
  
  <pre><code>&lt;img src = "avatars/" &lt;?php echo $rsjobinfo['clogo'];?&gt;/&gt;
  </code></pre>
  
  <p>Can anyone help? </p>
  
  <p>Thanks
  Dan</p>