paki hocam bu kısmı nasıl yapmalıyım ??
<?php
include("SYSTEM_common_config.php");
$sql = mysql_query("SELECT id, title, content FROM photo_gallery_cat ORDER BY date DESC LIMIT 25", $baglanti) or die("Sorgu hatasi olustu !");
$row_sql = mysql_fetch_assoc($sql);
$link = "'image_gallery_detail.php?id=";
$ust = "'";
do {
echo '<div class="item"><div class="title"></div><div class="title_text" onclick="get_link('.$link.''.$row_sql['id'].''.$ust.')"><span>'.$row_sql['title'].'</span><div>'.$row_sql['content'].'</div></div><img src="images/photo_gallery_cat/'.$row_sql['id'].'.jpg" width="178" height="135" /></div>';
}
while($row_sql = mysql_fetch_assoc($sql));
?>
İlki için:
SELECT id, title, content FROM photo_gallery_cat ORDER BY date DESC LIMIT 1
Diğerleri için:
SELECT id, title, content FROM photo_gallery_cat ORDER BY date DESC LIMIT 1, 24