Parašė Jaunelis· 2008 Rugs. 24 17:09:26
#1
Taigi susiduriau su tokia probelma man nerodo foto, o turėtu kame šaknys?
Foto:
Kondas:
openside("Naujausias Darbas");
$sql = dbquery("SELECT * FROM ".$db_prefix."photos ORDER BY photo_id DESC LIMIT 1");
if (dbrows($sql)) {
while($data = dbarray($sql)) echo "<center>
<a href='".BASEDIR."photogallery.php?photo_id=".$data['photo_id']."' class='gallery'><img src='".PHOTOS."".$data['photo_thumb1']."' width='100' height='75' title='".$data['photo_title']."' alt='".$data['photo_title']."'></a>
<br>
<a href='".BASEDIR."photogallery.php?album=".$data['album_id']."'>".$data['photo_title']."</a>
</center>
<br>\n";
} else {
echo "<center>Nuotraukų nėra</center>\n";
}
closeside();
Padėkite kas nors :)
Redagavo Jaunelis· 2008 Rugs. 24 17:09:55