title: using explode in php to separate a string of multiple images
body: <p>i am selecting rows from a database and using the below to separate each image (all in one column)</p>
  
  <pre><code>$images = explode(',',$result['images']);
  </code></pre>
  
  <p>then to display one image i am using this HTML / PHP Code:</p>
  
  <pre><code>&lt;img src="/img/project-gallery/'.strtr($images[0],'[]','""').'"
  </code></pre>
  
  <p>but its displaying like below</p>
  
  <pre><code>&lt;img src="/img/project-gallery/" 5_b.jpg""=""&gt;
  </code></pre>
  
  <p>how can i make it display like a image is suppose to</p>
  
  <p>in my database, the images are all in one column like:</p>
  
  <p><code>[image1.jpg],[image2.jpg],[image3.jpg]</code> etc...</p>