| 5:12 pm on Feb 9, 2014 (gmt 0)|
I figured out an alternate route.
Basically I just want to lower the width in which this file opens up to. Maybe <table> elements would be better?
|brotherhood of LAN|
| 6:03 pm on Feb 9, 2014 (gmt 0)|
try "echo getcwd();exit(0);" just before the include to see that the current working directory is the one you expect it to be. Also turn error and warnings on to see what PHP says about it.
| 6:53 pm on Feb 9, 2014 (gmt 0)|
The OP solution should be:
"Include 'linx.html' from the directory immediately above
the current directory ( '../' ).
. . . unless I'm reading the OP all wrong.
| 8:26 pm on Feb 9, 2014 (gmt 0)|
how about my part 2 in 2nd post ?
the problem now is, the file opens (include works) ...but it doesn't matter where I put the php include on the page, it just starts displaying near the top of the page, and outside of the boundaries I specify to to be cutoff to.
basically i'm opening this file (php include) into a small blog section, and I need it to open just there. (not all over the page)
but I need php include to take it's place. php seems to have a mind of it's own...takes over the whole top part of page.
| 12:56 am on Feb 13, 2014 (gmt 0)|
|...but it doesn't matter where I put the php include on the page, it just starts displaying near the top of the page |
Well, that is a bit tricky to debug without seeing the rest of your page, because the contents of the include are included wherever you have the include statement! (If that's not an overuse of the word "include" I don't know what is! ;)
Does the resulting HTML give any clues as to what's going wrong?