I once had that problem years ago with no brakes,The reason was the car had a back axle with leaf springs,One of the leaves broke and the axle moved back putting the handbrake on slightly this then boiled the brake fluid hence no brakes.
I was approaching a very busy roundabout at the time...