I have this script here which helps me to fetch one image from the database
<?
require("dbmanager.php");
if($id) {
$query = "select file_data,file_type from bildspel where id=$id";
$result = @($query);
$data = @MYSQL_RESULT($result,0,"file_data");
$type = @MYSQL_RESULT($result,0,"file_type");
Header( "Content-type: $type");
echo $data;
};
?>
<html>
<head>
<title>untitled</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<img src="<? echo "up_slideshow.php?id=$id"; ?>"><br>
</body>
</html>
if I want to view one image i need to type "up_slideshow.php?id=2" in the browser url field.
But what shall I do in order to display all the images I have in the database table on the page?