<?php
$conn = mysql_connect("localhost", "root", "general");
mysql_select_db("cms");
$result = mysql_query("SELECT * FROM Category");
echo "<table width='400' border='1' cellpadding ='3' cellspacing ='4' bordercolor='#45310F' fontcolor=#FFFFFF>";
//$cimage =
while($take = mysql_fetch_array($result))
{
echo"<tr><tr>";
echo "<tr><td>";
print $take."<br>";
echo "</td><td>";
print $take."<br>";
echo "</td></td>";
echo "<t6><td>";
echo $take."<br>";
echo "</td></tr></tr>";
echo "<tr><tr>";
}
echo "</font>";
echo "</table>";
echo "<br><br><br>";
mysql_close($conn);
?>
this is my code to get the images from the database...
i have uploaded the images...
but..when i tried to view it only the image name appears..the image doesnt appear...
The image name in the mysql is called cat_image