get question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello All,

Trying to figure out why when I include the page that contains this
code, I'm not able to get the $calling_page populated with any values.
Any help appreciated...


<?
# Dynamic Content based in page
$calling_page = $_GET['page'];

# Home Page ------------------------------------------------------------------------------------------------------------------------------
if(!($calling_page)) {
        $title = "Title 1 - $calling_page";
		$body = "<body />";

} elseif ($calling_page == "index") {
        $title = "Title 2 - $calling_page";
		$body = "<body />";

# Non Specified Page
--------------------------------------------------------------------------------------------------------------
} else {
        $title = "Title 3 - $calling_page";
		$body = "<body />";

}

echo "<title>".$title."</title>";
?>


-- 
Thanks!
Joey

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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux