I want to display the images that i have uploaded, and they are stored in my database, but when i try to display them, they dont show very well, need help!!
<html>
<title>
Produtos
</title>
<body bgcolor="#99CCCC">
<center><font face = "Agency FB" size="6"> Listar Porto </font> <br><br>
<?php
$ligacao=mysql_connect('localhost','root','') or die("Problema na ligação ao MySQL");
mysql_select_db("site");
$sql = "select * from productos";
$result = mysql_query($sql) or die ("Nao consegui ligar a db");
while($row=mysql_fetch_assoc($result))
{
echo "<div class=\"Image\">";
echo "<p>";
// Note that we are building our src string using the filename from the database
echo "<img src=\"Image/" . $row['imagelocation'] . "\" alt=\"\" height='100' width='100' />";
echo $row['nome'] . " " . $row['marca'] . "";
echo "</p>";
echo "</div>";
}
mysql_close();
?>
</body>
</html>
[attachment deleted by admin]