Invalid test??

Hi all, I need some advice. I took two pregnancy tests and on the box it says you need to get 2 vertical lines for it to be positive. With both tests I got horizontal lines in the T window and vertical line in C window. Does it mean that both were invalid?