Problem
Posted: Wed Apr 07, 2004 2:12 am
Hi!
I would like to have 5 pictures in one row...what have i to do???
thx
marce23
I would like to have 5 pictures in one row...what have i to do???
Code: Select all
<?
$path = "D:/Programme/Apache Group/Apache2/htdocs/eigeneneu/images/desktop/kleinbild/";
$dir_handle = @opendir($path) or die("Unable to open $path");
while ($file = readdir($dir_handle)) {
$size = filesize($file);
$size = $size/1024;
$size = round($size,2);
if($file == "." || $file == ".." || $file == "index.php" || $file == "index2.php" || $file == "Neu
Textdokument.txt" || $file == "Thumbs.db" )
continue;
echo "
<table align="left">
<tr>
<td bgcolor="black" style="BORDER-RIGHT: #3366FF 1px dotted; BORDER-TOP: #3366FF 1px dotted;
BORDER-LEFT: #3366FF 1px dotted; BORDER-BOTTOM: #3366FF 1px dotted" width="90%">
<a href="../vollbild/$file" target="_blank" border="0"></a>
<img src="$file" border="0">
</td>
</tr>
<tr>
<td bgcolor="black" style="BORDER-RIGHT: #3366FF 1px dotted; BORDER-TOP: #3366FF 1px dotted;
BORDER-LEFT: #3366FF 1px dotted; BORDER-BOTTOM: #3366FF 1px dotted; text-align: left">Name: $file<br>Size: $size kb
</td>
</tr>
</table>
";
}
closedir($dir_handle);
?>marce23