Jump to content

Frames & Php


morrisjohnny
 Share

Recommended Posts

EDITEDFOUND THE PROBLEMTurns out hitting F12 in Macromedia doesn't want to run on the testing server (local host) like it was set-up to do :)UN-EDITEDRight this is driving me mad and i can't work out why it's doing itI have one page which calls all the frames However the problem lies with the other frames (which contain php) The PHP part such as <?php echo "Hello"; ?> Doesn't show on the webpage,however if you view the source code it's viewable but even with the <?php & ?> and i can't work out the reason why but i know it's something simpleDesktop.php

<html><frameset rows="100,*">	<frame src="header.php">	<frameset cols="180,*">		<frame src="menu.php">		<frame src="welcome.php" name="showframe">	</frameset></frameset></html>

menu.php

<?phpinclude"includes.php";?></head><body><?phpecho"Hello";?></body></html>

Edited by morrisjohnny
Link to comment
Share on other sites

PHP code only gets executed when you run it through a web server that supports PHP. It sounds like you're not doing that.
Your right, It was a Macromedia Error Turns out even trying to close a tree branch in the sidemenu it closes the wrong branch. this is totaly out of the blue thinking a re-install of Macromedia, Thanks For your help JustSomeGuy :)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...