Here's the scenario:
A wizard is separated in initiative order from his target by one or more creatures/PCs.
The wizard creates a Wall of Fire which occupies the space of his target creature.
Prior to the target creature's turn, another creature or PC forces the target to move outside of the wall's space.
Does the target creature ever take damage for having been in the wall's space?