".mysql_error()); $num_rows = mysql_num_rows($result); if ($num_rows > 0) { while ($line = mysql_fetch_array($result)) { echo "
  • $line[1]"; ?>
  • Works
    "; } ?>
    ".mysql_error()); $num_rows = mysql_num_rows($result); $query1 = "SELECT * from sanatcilar where san_id = '$artist'"; $result1 = mysql_query ($query1) or die ("Feyld
    ".mysql_error()); $row1 = mysql_fetch_array($result1); ?>
    "; ?>
    0) { if ( $num_rows % 4 > 0 ) { $html_rows = ceil ($num_rows / 4); } else { $html_rows = $num_rows / 4; } // echo "
    $num_rows in $html_rows
    "; echo ""; $row_no = 0; $rec_no = 0; $current = 0; $current_no = 0; $records = array(); while ($line = mysql_fetch_array($result)) { array_push ($records,$line[0]); } for ($row_no = 0;$row_no < $html_rows;$row_no++) { echo ""; for ($this_rec_no = 0;$this_rec_no< 4;$this_rec_no++){ if ($current < $num_rows) { echo ""; } else { echo ""; } $current++; } echo ""; echo ""; for ($this_rec_no = 0;$this_rec_no< 4;$this_rec_no++){ if ($current_no < $num_rows) { echo ""; } else { echo ""; } } echo ""; } } else { echo "Aranan kritere uygun kayıt bulunamadı.
    "; } } ?>
    " . ++$current_no . "