display a <img> from php( problem)
<p>I wanna return a link inside to <code>&lt;img&gt;</code>. I dont know what is the problem.</p>

<p>categoria.php</p>

<pre><code>&lt;HTML&gt;....
&lt;img  src="categoriaMAIN.php?type=celular"&gt;
&lt;/HTML&gt;
</code></pre>

<p>categoriaMAIN.php</p>

<pre><code>&lt;?php
$varcate= $_GET['type'];
if ($varcate == "celular")
   echo "http://ecx.images-amazon.com/images/I/41l1yyZuyXL._AA160_.jpg";
?&gt;
</code></pre>
