Ok, I'm sort of a beginner at this, so cut me some slack. :-)  Ok, I have an
if then statement that after you click a link it looks like this:
blah?page=pagename It looks something like this:
<?php
if(!$page) {
include ("http://www.site.com/home.php";);
}
else{
include ("http://www.site.com/"; . "$page" . ".php");
}
?>
This code is in the index.php file.  When home.php is included, I want to
echo a variable like $title on the index.php page.  But $title is defined on
home.php.  For some reason, I can't get $title to echo on index.php after
it's included.  Anyone know??



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to