Things have gone from bad to worse!

Got a afm from a mate and stuck it in Saturday but then when I tried to start the car it wont, it was turning alright. Put back in the old afm but same thing wouldn't start! Thought it was flooded so left it till morning and pushed it down a hill but no go! Its back at the garage now. Theres spark, compression and petrol but still wont start!

anyone got any ideas on whats the problem??