Log In · Register

 
 
Closed TopicStart new topic
Div/ Iframe/ php help
Chelsealicious
post Mar 24 2008, 12:07 PM
Post #1


Member
**

Group: Member
Posts: 20
Joined: May 2007
Member No: 526,471



i just designed my website layout for the first time by my self...i want to know whats the best thing to use so that im not going from page to page trying to update links..and how exactly to i go about codeing after i've decide?

-chels
 
Chelsealicious
post Mar 24 2008, 02:06 PM
Post #2


Member
**

Group: Member
Posts: 20
Joined: May 2007
Member No: 526,471



...anyone?
 
paintedskies
post Mar 24 2008, 02:15 PM
Post #3


g33k
*

Group: Member
Posts: 9
Joined: Aug 2007
Member No: 557,747



If you don't want to change every page on a layout change, you can use PHP to include your header and footer.

You don't code layouts in PHP, you code them in HTML and CSS, but can use PHP to make things easier.
 
Chelsealicious
post Mar 24 2008, 02:39 PM
Post #4


Member
**

Group: Member
Posts: 20
Joined: May 2007
Member No: 526,471



So is Php a program or a code?
 
synatribe
post Mar 24 2008, 05:48 PM
Post #5


AIDS at RAVES.
******

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



php is a code, you have to do it like this, code ur layout, then seperate the code into different sections
example
split the code into 2, where do u split it?
good question your first part is going to be the part right up to where your content starts and the second part begins where the content ends and the second part ends until the rest of the code then name those two differnt section into differnt names such as above and below, then upload those files and in ur new page put
CODE
<?php include("above.php")?>

this is now ur header and then add
CODE
<?php include("below.php")?>
and in between this put the content for that specific page, iframes are html codes that connect another webpage to the one your on,
CODE
<iframe>content here</iframes>

but php would be better if you have more content

okay so if your completely lost just pm me or post ur code so I can split it for you, I hope this helped:] thumbsup.gif
 

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