Log In · Register

 
Question about PHP
GunsNRachel
post Jun 7 2008, 12:27 PM
Post #1


Senior Member
****

Group: Member
Posts: 292
Joined: Jul 2007
Member No: 545,047



I want to use PHP includes for my site, but I'm confused. I have a CSS code, but do I have to make that into a PHP code to use it for PHP includes?
 
 
Start new topic
Replies
schizo
post Jun 7 2008, 12:44 PM
Post #2


Senior Member
******

Group: Staff Alumni
Posts: 2,435
Joined: Feb 2007
Member No: 506,205



When I did my PHP includes, all I did was change the extension of all my pages to .php. Then I copied everything that goes above my content area into a page I called "header.php" and everything below into "footer.php." And finally I put the little include codes in place of those areas on all my pages. I could be completely wrong, but I don't think you have to change any code.
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: