you can write:
 $output .= $tableRow; 

But actually, tableRow is not useful, we can just use $output