Non è che nelle Print invece di $rows avevi messo $row?