First let me thank everybody who helped me in the past few weeks. Must say, got some great support on this forum. As a 'oldie' newbie its been a great help.
I've got the follwing code which works fine as a first step in what I want to achieve:
Code: Select all
$sql = "SELECT FileData FROM filestore WHERE ID=6";
$result = mysql_query($sql);
if(!$result) die("database error: " . mysql_error());
$image = mysql_result($result,0,"FileData");
header("Content-Length: " . strlen($image));
echo ($image);How can I list all the images stored in FileData.
Tried several things but no result. In the best case I still get only 1 image displayed.
Help would be appreciated,
Thanks in advance,
Gijs