" ; } # If count is missing, default to the first one. if (! isset($count)) { $count = 0; } if ($fatal == 0) { include "./admin/common.php" ; $sql = "select * from group_images where groupid = $groupid order by seq,imageid"; $res = mysql_query($sql); $max = mysql_num_rows($res); if ($max <= 0) { $msg = "No images available for this group!"; } if ($max > 0) { if ($count > 0) { $prev = $count - 1;} if ($count < ($max - 1)) {$next = $count + 1;} $imageid = mysql_result($res,$count,"imageid"); # get the Image information $imginfo = mysql_query("select title,artist,medium,date,description from images where id = $imageid"); $title = mysql_result($imginfo,0,"title"); $artist = mysql_result($imginfo,0,"artist"); $medium = mysql_result($imginfo,0,"medium"); $year = mysql_result($imginfo,0,"date"); $description = mysql_result($imginfo,0,"description"); ?>
0) { ?>
&count= >Previous image
  &count= >Next image

 

 

$title
"; print "$artist
"; print "$medium
"; print "$year

"; print "$description

"; ?>

Oops!

The following problem was encountered: