Showing Image to my page from database
<p>I created a page to show the table in my database. But the problem is the image is not showing properly instead it is giving the link of my image for example:(../../images/i1.jpg) Is something wrong with my code?</p>

<pre><code>&lt;html&gt;
&lt;head&gt;
&lt;title&gt;View Records&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;?php
include('connect-db.php');
$result = mysql_query("SELECT * FROM products9 ORDER BY id ASC")
or die(mysql_error());
echo "&lt;p&gt;&lt;b&gt;View All&lt;/b&gt; | &lt;a href='view-paginated.php?page=1'&gt;View Paginated&lt;/a&gt;&lt;/p&gt;";
echo "&lt;table border='1' cellpadding='10'&gt;";
echo "&lt;tr&gt; &lt;th&gt;ID&lt;/th&gt; &lt;th&gt;Product&lt;/th&gt; &lt;th&gt;Price&lt;/th&gt; &lt;th&gt;&lt;/th&gt; &lt;th&gt;&lt;/th&gt;&lt;/tr&gt;";
while($row = mysql_fetch_array( $result )) {
echo "&lt;tr&gt;";
echo '&lt;td&gt;' . $row['p_name'] . '&lt;/td&gt;';
echo '&lt;td&gt;' . $row['image'] . '&lt;/td&gt;';
echo '&lt;td&gt;' . $row['price'] . '&lt;/td&gt;';
echo '&lt;td&gt;&lt;a href="edit.php?id=' . $row['id'] . '"&gt;Edit&lt;/a&gt;&lt;/td&gt;';
echo '&lt;td&gt;&lt;a href="delete.php?id=' . $row['id'] . '"&gt;Delete&lt;/a&gt;&lt;/td&gt;';
echo "&lt;/tr&gt;";
}
echo "&lt;/table&gt;";
?&gt;
&lt;p&gt;&lt;a href="new.php"&gt;Add a new record&lt;/a&gt;&lt;/p&gt;
&lt;/body&gt;
&lt;/html&gt;

 &lt;/div&gt;
</code></pre>