Got it working in a way
Hello, I got it working in a way, originally the site is composed that depending on the menu you select, it loads the php section in the form of an include, but taking this option away it works more or less how i want so will see what i can do to make this integrate better with includes, will post some code how i used to call the php file that has the DFP behaviours.
Still thanks for everything, keep up the good work :)