Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Please, I need to configure...

Status
Not open for further replies.

ejgarcia

IS-IT--Management
May 28, 2003
72
US
Hello All,

Please How can I configure a templates in a PHP website?

For example: I only make a header for one web and it can be for all pages without frames.

Thanks you
 
Well what i do is first i design it using a WYSIWYG application. Copy the HTML Code and paste it onto a text file (notebook or any php editor u're using); put the <?php and ?> tags. For each line u need to use the echo "" so it can send the html back to the page. If there is any code you wish to put you now can and it will change accordingly.

in the proper page instead of te HTML code write

<? include("thefile.php"); ?>

That will load the php file you saved and wil run any dynamic data!

hope it helps abit

Nick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top