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
synatribe
post May 1 2008, 09:53 PM
Post #2


AIDS at RAVES.
******

Group: Official Designer
Posts: 2,386
Joined: Dec 2007
Member No: 598,878



i use the second one because gernally I want my nav to be the same on every page of my site and the ad usually rotates depending if your using google or bidvertisers, but I find the second one a lot easier to manage:]
 
Maccabee
post May 2 2008, 10:14 AM
Post #3


Senior Member
*******

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



QUOTE(SkyliteX @ May 1 2008, 09:53 PM) *
i use the second one because gernally I want my nav to be the same on every page of my site and the ad usually rotates depending if your using google or bidvertisers, but I find the second one a lot easier to manage:]


Awesome thanks.

I just dont see a point in doing it the first way.

Even if I want to change the ad ill just change it in the first half.
 
synatribe
post May 2 2008, 06:06 PM
Post #4


AIDS at RAVES.
******

Group: Official Designer
Posts: 2,386
Joined: Dec 2007
Member No: 598,878



QUOTE(JosephCohen123 @ May 2 2008, 10:14 AM) *
Awesome thanks.

I just dont see a point in doing it the first way.

Even if I want to change the ad ill just change it in the first half.

ur welcome:]
 

Posts in this topic


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