PHP Include Function - Formatting
Posted: Wed Oct 21, 2009 12:36 pm
HI Guys,
I am new at PHP and figured this is the best place to get a quick answer, which I am sure is obvious to you.
I am having a problem integrating PHP templates into an existing HTML / PHP template. I see that there are tons of free scripts but it is a hair pulling experience to try an include any (scripts) into my existing webpage.
I have no problem installing the scripts, but when I try to add the template code into my website it expands the page and screws up the CSS look and feel.
My question is, do you recommend saving a PHP template and using the include function to maintain the look and feel of a page?
For instance inserting the Sphider search engine template into an existing page screws up the size, but will adding a PHP include function that points to the template from fix this?
Thanks for any help you can offer.
I am new at PHP and figured this is the best place to get a quick answer, which I am sure is obvious to you.
I am having a problem integrating PHP templates into an existing HTML / PHP template. I see that there are tons of free scripts but it is a hair pulling experience to try an include any (scripts) into my existing webpage.
I have no problem installing the scripts, but when I try to add the template code into my website it expands the page and screws up the CSS look and feel.
My question is, do you recommend saving a PHP template and using the include function to maintain the look and feel of a page?
For instance inserting the Sphider search engine template into an existing page screws up the size, but will adding a PHP include function that points to the template from fix this?
Thanks for any help you can offer.