Join | Contact Us

<% set cat=conn.execute("select * from ref_photogallery_category") tab=0 response.write "
" ' setup the main table outside" do while not cat.EOF if tab = 3 then response.write "
" tab = 0 elseif tab > 0 then response.write "" end if response.write "" ' setup the table inside for the category response.write "" ' show the category title response.write "" ' show the picture associated with the category response.write "" response.write "
"&cat.fields("ref_photogallery_category")&"
"&cat.fields("ref_photogallery_category_description")&"

View Photos
tab = tab + 1 cat.MoveNext loop response.write "
" %>