Added table row to foreach loop