for ($k = 0; $k < @tableb; $k++) {