I'm self taught but I've got a pretty good grasp on php now.
What I want to do is completely separate it from my html....if that's possible. I keep reading about it but everyone keeps referring back to using templates which I don't want to do (unless they're my own).
So, as an example, on my home page (which I would like to have remain an html doc) I want to fill a div container with either a login/register script or (if the user is logged in) an ad.
Is there someway of identifying the div container so that an external php file is called and fills it? Or do I need to use php code in the div container to call the external php file?
I hope I have worded this clearly.
Thanks in advance.