View Single Post
Old 09-04-2004, 01:22 AM  
Dravyk
Confirmed User
 
Join Date: Jan 2001
Location: Yo, Philly!
Posts: 1,202
PHP Question Here

Keep in mind I'm a semi-talented, but mostly-confused beginner when it comes to PHP. Also I do NOT actually program, but I can tweek and change or add a line or two nowadays.

With that background in mind, I found a PHP script. I want to use it and have it match the rest of my site. There are already other PHP scripts on the site. One of them is a header.php file that contains the style, logo and graphical site navigation.

I look into THIS script and everything is done line-by-line with echoes. (Which means it would take me forever and I would screw it up with all those quotes and semis and such.)

Can I just somehow insert the entire header.php file from the other script located in another directory which already exists and somehow just call it into this script? If so what would the syntax I would need to use?

Appreciate the assistance.
Dravyk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote