I am learning PHP and I just made a login script and I'm going to be creating more stuff for my website. Can I just save all my HTML docs to PHP so it reads the PHP and the HTML. It is mostly CSS so will the CSS still work if it is saved as a PHP file. If I should keep the PHP file alone, how would I put it in the HTML and CSS to position it where I want it to show up?
So, do you guys recommend I do that? Or should I keep them seperate for neatness. The only problem I see with keeping them seperate is embedding them into the position I want. And can I slip some PHP into <div> tags?
So, do you guys recommend I do that? Or should I keep them seperate for neatness. The only problem I see with keeping them seperate is embedding them into the position I want. And can I slip some PHP into <div> tags?