Log in

View Full Version : Changing a html layout to php layout



evan
11-02-2009, 10:19 PM
I have this page :

http://www.evanloiterman.com/clients/winer&winer/

I keep having to do a number of changes to the navbar, adding links and changing them so I thought I would start using includes because I can make the change once and be done with it.

but,

When I try to place my php includes inside my divs like this:


<div id="topbanner"><?php include("top.php"); ?></div>

it doesn't work -I am basically trying my div style layout and trying to place the included inside my divs -Am I not able to do that?

evan
11-02-2009, 10:33 PM
oops beeing a noob at this, I realized the hardest part is lerning HOW to do something vs knowing what the CAPABILITIES ARE

and then sometimes it's just a mistake like this:



<div id="topbanner"><? php include("top.php"); ?></div>

the SPACING, lol.

any tips for me are welcome