sub write1 { while ( @data=$STH1->fetchrow_array() ) { print "
"; print ""; print ""; print "

"; print "";