Does anyone know how to display dynamic content (banner ad) in the middle of dynamic content (text/article?)
For example – you are familiar that most news sites place advertisments in the middle of their articles – that is exactly what I’m trying to do.
In my article, I’ve placed PHP tags however it’s being treated as plain text and not PHP.
Example:
Dynamic text being outputted from the database:
By early May, the partners had gutted the first floor and contractors had begun replacing the building’s mechanical equipment, installing flooring in several locations, uncovering and restoring numerous windows, insulating and drywalling large expanses throughout the building.
— Advertisement —
<? php echo myAdvertisement ?>
The front is being cleaned and an awning should be in place next week. Jansen said he has looked at old photos of the building and wants to recreate the original look.
End Example