pennywise81
02.07.2003, 12:21:26
Kann mir einer sagen was da falsch ist? krieg keine ausgabe...
<?php
mysql_connect($host,$username,$password);
mysql_select_db($database);
$result = mysql_query("SELECT id, datei, tn FROM fotos WHERE gallerie = $_GET[gallery]");
while($row = mysql_fetch_array($result)) {
echo "<a href="fotos.php?action=view&pic=".$row["id"].""><img src="fotos/".$_GET["gallery"]."/".$row["tn"].""></a><br>";
}
?>
<?php
mysql_connect($host,$username,$password);
mysql_select_db($database);
$result = mysql_query("SELECT id, datei, tn FROM fotos WHERE gallerie = $_GET[gallery]");
while($row = mysql_fetch_array($result)) {
echo "<a href="fotos.php?action=view&pic=".$row["id"].""><img src="fotos/".$_GET["gallery"]."/".$row["tn"].""></a><br>";
}
?>