AFC Fylde claimed a first away win of the season and Kevin Phillips' first win since taking charge with a 2-1 victory at Boston, who slumped to a fifth straight National League defeat.
It looked like the sides were going to head into the break on level terms until Pemi Aderoju nodded the hosts in front in the second minute of added time.
Fylde skipper Corey Whelan equalised with a volley from a corner in the 53rd minute.
And five minutes later, Adam Long nodded home to snatch the Coasters a much-needed three points on the road.
Report supplied by PA Media.