Okay, so I have some php syntax (below) and it would work out great. BUT, it shows html instead of actually showing the image. Could someone help me out with this?
CODE:
<?php
$handle = opendir ('./images');
while (false !== ($file = readdir($handle))) {
if($file != "." && $file != ". .") {
echo '<img src="'.$file.'" width="320" height="200"/>'.$file.'';
}
}
?>
Dear people,
In response to Michael's question about php installed, I am sure there is php installed. BTW, I use zymic web hosting if that helps.
CODE:
<?php
$handle = opendir ('./images');
while (false !== ($file = readdir($handle))) {
if($file != "." && $file != ". .") {
echo '<img src="'.$file.'" width="320" height="200"/>'.$file.'';
}
}
?>
Dear people,
In response to Michael's question about php installed, I am sure there is php installed. BTW, I use zymic web hosting if that helps.