Struggling Fylde ended Halifax’s three-match winning run with a 2-1 victory in the National League to move out of the relegation zone.
The visitors took advantage of Wealdstone’s defeat to Tamworth to move two points clear of the bottom four.
Tyler Roberts gave Kevin Phillips’ visitors the lead with a lifted finish over the goalkeeper in the 23rd minute, but Jamie John Cooke levelled from the spot before half-time.
Winger Gavin Massey won a penalty for Fylde after the interval and Nick Haughton stepped up to convert the 55th minute winner.
Subscribe or register today to discover more from DonegalLive.ie
Buy the e-paper of the Donegal Democrat, Donegal People's Press, Donegal Post and Inish Times here for instant access to Donegal's premier news titles.
Keep up with the latest news from Donegal with our daily newsletter featuring the most important stories of the day delivered to your inbox every evening at 5pm.