External page
Posted: Wed Mar 24, 2004 3:56 am
Howzit ppl
This might be a dumb question but I'm trying to make the result of a page a variable, say for example this external page's name is page.php and the other page with the main code that i'm working on is called help.php. Here is an example of what I think it must look like but I know its wrong. I hope this gives you an idea of what I'm tying to do
<?php //this page is called help.php
$myvariable = (page.php)
echo ("$myvariable")
?>
You will notice that (page.php) is where I want the external page (almost like a .css page) to be included as a variable.
Any Ideas?
This might be a dumb question but I'm trying to make the result of a page a variable, say for example this external page's name is page.php and the other page with the main code that i'm working on is called help.php. Here is an example of what I think it must look like but I know its wrong. I hope this gives you an idea of what I'm tying to do
<?php //this page is called help.php
$myvariable = (page.php)
echo ("$myvariable")
?>
You will notice that (page.php) is where I want the external page (almost like a .css page) to be included as a variable.
Any Ideas?