php display image
<p>I am not able to display image using this code. Could any one help me in correcting?</p>

<pre><code>&lt;?php
include("connect.php");
$sql="select * from profile where userid=3";
$row=mysql_query($sql);
header("Content-type: image/jpeg");
echo $row['image'];
?&gt;
</code></pre>
