title: PHP: Echo IMG src= php echo
body: <p>I have the following code working in another document </p>
  
  <pre><code>&lt;a href="&lt;?php echo stripcslashes($get_ads_code_one); ?&gt;" title="&lt;?php bloginfo('name'); ?&gt;"&gt;&lt;img src="&lt;?php echo $option_upload_url . '/' . $shortname . '_banner1_imagen.'.$get_banner1_imagen_ext; ?&gt;" alt="&lt;?php bloginfo('name'); ?&gt;"  Style="width:100%" /&gt;&lt;/a&gt;
  </code></pre>
  
  <p>but now i took to next expression:</p>
  
  <pre><code>echo "&lt;img src=\"$option_upload_url/$shortname_banner1_imagen$get_banner1_imagen_ext\" &gt;";
  </code></pre>
  
  <p>but seems like the parth isnt correctly implemented, tried diferent things i found on the web but couldnt manage to find a solution...</p>
  
  <p>EDIT:</p>
  
  <p>The image isnt loading when i use the second code.</p>