Photo Gallery echo($cat_title_text); ?>
$result = mysql_query($query2) or die(); $num_photos = mysql_num_rows($result); if($num_photos == 0 && $category != "") { echo("No photos to display in the current category - please try again later."); } elseif($num_photos == 0) { echo("There are currently no photos to display - please try again later."); } while($photo_list = mysql_fetch_array($result)) { echo(""); } ?>