I have a Results page for my picture search script. I want to show a thumbnail of the picture. I used the following code:
$filename="Thumbs/$Row[thumbfile]";
$file= fopen($filename, "r");
$filesize= filesize($filename);
$text= fread($file, $filesize);
fclose ($filename);
However it never seems to work. Someone please help me.