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 (1 - 2)
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.
 
1angel3
post Jun 7 2008, 08:10 PM
Post #3


Naomi loves you. Y'all may call me NaNa
******

Group: Official Designer
Posts: 2,925
Joined: Jun 2006
Member No: 427,774



^Yep that's how you do it.

Read this. It's really simple, more simple than you think.

Go ahead
http://www.christopherjason.com/articles/using-php-includes/
 

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