0) ) { $imagelist = '

'.get_categoryname($category).'

'; $queryc = mysql_query("SELECT * FROM `images` WHERE image_category='$category' ORDER BY `image_sort`"); $howmanyc = mysql_num_rows($queryc); if ($howmanyc > 0) { $orderno = 1; $imagelist .= ''; $content = $imagelist; } else { $content = 'no image found in this category.'; } } else { // list images in category $catlist = '

Gallery

'; $queryc = mysql_query("SELECT * FROM `categories` ORDER BY `categories_name`"); $howmanyc = mysql_num_rows($queryc); if ($howmanyc > 0) { $catlist .= ''; $content = $catlist; } else { $content = 'no category found.'; } } ?> Gallery

Notice: Undefined variable: content in /var/www/vhosts/chassis-robert.be/httpdocs/gallery/index.php on line 102