title: Echo image with php
body: <p>I am trying to do something really simple with php but I can not find where I have the mistake! So, I want to echo an image like this (part of the code):</p>
  
  <pre><code>    $file_path[0] = "/Applications/MAMP/htdocs/php_test/image_archive/".$last_file[0];
      echo $file_path[0];
      echo "&lt;br&gt;";
      echo "&lt;img src=\".$file_path[0].\" alt=\"error\"&gt;"; 
  </code></pre>
  
  <p>I must have some kind of error when I echo the img tag but I can not find it. Any help would be appreciated.</p>
  
  <pre><code>  &lt;div class="content"&gt;
     &lt;h1&gt; Map&lt;/h1&gt;
    &lt;?php
  
    include '/Applications/MAMP/htdocs/php_test/web_application_functions/last_file.php'; 
    $last_file = last_file(); 
  
   $file_path[0] = "/Applications/MAMP/htdocs/php_test/image_archive/".$last_file[0];
  echo $file_path[0];
  echo "&lt;br&gt;";
  echo '&lt;img src="' . $file_path[0] . '" alt="error"&gt;';
  ?&gt;
  &lt;!-- end .content --&gt;&lt;/div&gt;
  </code></pre>