Log In · Register

 
Php questions?, I need help with php.
Maccabee
post May 1 2008, 08:47 PM
Post #1


Senior Member
*******

Group: Official Designer
Posts: 5,880
Joined: Nov 2007
Member No: 593,382



Ok because I cant veiw peoples php there are things I cant find out.

So here is my question?

Is it better to do this:

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

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

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

Content

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


or condense header,nav and ad .php into one file and do this:

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

content

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

Get what im saying?

If you dont can someone just send me a code of what their site looks like with the php.
 
 
Start new topic
Replies
heyo-captain-jac...
post May 1 2008, 08:49 PM
Post #2


/人◕‿‿◕人\
*******

Group: Official Member
Posts: 8,283
Joined: Dec 2007
Member No: 602,927



I'm not the best with PHP, but I think the first one is probably what you want to go with.
 

Posts in this topic


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