title: Display images from concat mysql & php
body: <p>I'm trying to display some images inside php. </p>
  
  <pre><code>&lt;?php
      $sql1 = "
     SELECT data1.id
           , data1.profileid
           , data1.Employer
           , CONCAT('[',GROUP_CONCAT(data2.Url),']') Url 
        FROM database1 data1 
        LEFT 
        JOIN database2 data2 
            ON data1.id = data2.employerid 
       WHERE data1.profileid = '$session' 
       GROUP 
          BY data1.id
           , data1.profileid
           , data1.Employer";
          $resultEmployer = mysqli_query($db, $sql1) or die;
  
      if (mysqli_num_rows($resultEmployer) &gt; 0)
          {
              while($row = mysqli_fetch_assoc($resultEmployer))
              {
                 $employer    .= "" . $row['Employer'] . "";
                 $employer    .= "" . $row['Url'] . "";
                      }
              }
      ?&gt;
  </code></pre>
  
  <p>The output from the database inside php is:</p>
  
  <ul>
  <li><p>Jake
  ['<a href="https://example.com/jake1.jpg,https://example.com/jake2.jpg,https://example.com/jake3.jpg" rel="nofollow noreferrer">https://example.com/jake1.jpg,https://example.com/jake2.jpg,https://example.com/jake3.jpg</a>']</p></li>
  <li><p>Stephanie
  ['<a href="https://example.com/stephanie1.jpg,https://example.com/stephanie2.jpg,https://example.com/stephanie3.jpg" rel="nofollow noreferrer">https://example.com/stephanie1.jpg,https://example.com/stephanie2.jpg,https://example.com/stephanie3.jpg</a>']</p></li>
  </ul>
  
  <p>I don't know how to put these links (from the CONCAT in MYSQL) inside an img-tag to display the images and not the url(s) itself. I tried this without success:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;?php
  $employer .= "&lt;img src=" . $row['Url'] . "";
  ?&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>Who can help me? Thank you.</p>