title: Storing img src in to a php variable
body: <p>So I'm completely new to PHP and coding in general.</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
  &lt;/head&gt;
  
  &lt;body&gt;
  
  $barcode = &lt;img src="barcode.php?text=$offerId" alt="$offerId"
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>I need this barcode img in to the variable. Which I will be echoing in another file. I don't know how to work with the php tags.</p>