Car shifted into gear when in park...

Adjust the shifter cable in 1st per prior shifter cable posts. That is scary but how did it get from P to D? Thats like 1 inche of travel on a shifter right over R?