title: Setting size of an image in PHP
body: <p>I am trying to set size of an image in PHP but it's not working..</p>
  
  <pre><code>echo "&lt;img src=".$media."width=200 height=200";
  </code></pre>
  
  <p>$media is the src link. Without the width and height attributes, it works perfectly well. I think that <code>200</code> must be enclosed in double quotations but I am unable to do that. Any ideas on how to solve this problem?</p>