View Full Version : PHP help!


Stickievix
08-04-2009, 06:59 PM
Hello, I wonder if any of you could help with my problem!

I created this great layout using DIV layers for a website, it grew and I now have a fair few pages which is a pain when it comes to editing the menus so I chose to use PHP includes to cover this problem.

However one of my DIV layers is no longer the size or in the position it used to be when it had the .HTML extension. It has the exact same script, the only difference is the .PHP extension.

Any help?

b3ns
08-04-2009, 07:57 PM
You'll need to paste the whole source of the file here as its difficult to determine what the problem is without the code.

iGeek
08-04-2009, 10:33 PM
I highly doubt this is a PHP issue. Are you sure your paths are correct and the file is being included?

bammurdo
08-20-2009, 08:47 PM
Hey,
random shot in the grass here:P
but how far off is it from what is was?
and could it be like a "auto-margin" problem :confusion ? :P
bam 8-)

Joseph Witchard
08-21-2009, 08:48 PM
I highly doubt this is a PHP issue. Are you sure your paths are correct and the file is being included?

Yeah, that doesn't sound like something PHP would do. And I've seen PHP do some crazy things.

For my own personal interest, do your include files really need a .php extension? I only use .php on include files that have PHP code in them. For everything else, I stick with .html. And it seems to keep the file size smaller if I use .html, too.