Hi all, I'm new here, and I've got a problem: I have 2 files that are called "interface.htm" & "content.htm".
In "interface.htm", I have 1 PHP tag that is "<?=$menu?>". This variable is initialised correctly from a PHP file, but I've got a "<IFRAME src="content.htm?PHPSESSID=<?=session_id()?>"></IFRAME>'.
Then, in "content.htm", I've got
"<HTML><BODY><?=$content?></BODY></HTML>".
Here's the problem: when I launch a PHP page that initialise CORRECTLY (I'm sure of that) the $menu and $content variables, the HTML page that's displayed shows the proper value of $menu, but the frame that contains $content is displayed as is, that's to say that the client sees "<HTML><BODY><?=$content?></BODY></HTML>" if he looks the source.
So: the content is not displayed and the frame isn't parsed by PHP.
My questions are: Do you know why it's not parsed ? Can you explain me why it doesn't work ? And what sould I do to make it work?
Note: I've got this architecture for 2 reasons:
1) I tried with simple frames (FRAMESET & FRAME tags), but it can't display my interface correctly, because of blank spaces between the frames (even if I try to fix the space to 0!)
2) I need a scrolling for the content of tha page ONLY, because I want the menu to stay fixed on the screen.
So please, I really need help !!! 🙂
Oh! I forgot to precise that $menu and $content are session variables...