At the moment it is just the shell of a page with the echo.
<?php
session_start();
?>
<html>
<head>
<title>Display Categories</title>
<link rel="stylesheet" type="text/css" href="stylesheets/styles.css">
</head>
<body class="search">
<?php
echo $_GET['topic'];
?>
</body>
</html>
There is nowhere I can see that it could be having trouble.
The sending page though is much larger.
<?php
session_start();
echo $topic;
?>
<html>
<head>
<title>Top</title>
<link rel="stylesheet" type="text/css" href="stylesheets/styles.css">
</head>
<body class="top">
<?php
echo "<h1 class=\"title\">i-Web</h1>\n";
echo "<h2 class=\"subtitle\">News Monitoring Service</h2>\n";
echo "<form method=\"post\" name=\"searchform\" action=\"display_categories.php\" target=\"main\">\n";
echo "<div class=\"login\">\n";
echo "<p>You are logged in as $loginname <a href=\"index3.php\" target=\"_top\" value=\"changeprofile\">Change $loginname Profile</a> <a href=\"index6.php\" target=\"_top\" value=\"addarticles\">Add Articles</a> <a href=\"index.php\" target=\"_parent\">Log Out</a></p>\n";
echo "</div>\n";
echo "<div class=\"navbar\">\n";
echo "<p>\n";
echo "<a class=\"nav\" href=\"index7.php\" target=\"_top\">All News Home</a> | \n"; // go to default_login.php -->
echo "<a class=\"nav\" href=\"index2.php?topic=technology\" target=\"_top\">Technology</a> | \n";
echo "<a class=\"nav\" href=\"index2.php?topic=enterprise\" target=\"_top\">Enterprise</a> | \n";
echo "<a class=\"nav\" href=\"index2.php?topic=research\" target=\"_top\">Research</a> | \n";
echo "<a class=\"nav\" href=\"index2.php?topic=government\" target=\"_top\">Government</a> | \n";
echo "<a class=\"nav\" href=\"index2.php?topic=people\" target=\"_top\">People</a> | \n";
echo "<a class=\"nav\" href=\"index2.php?topic=lifestyle\" target=\"_top\">Life Style</a> | \n";
echo "<a class=\"nav\" href=\"index2.php?topic=opinion\" target=\"_top\">Opinion</a>;\n";
echo "</p>\n";
echo "</div>\n";
echo "<div class=\"searchbar\">\n";
echo "<select name=\"searchlist\">\n";
echo "<option selected value=\"1\">ALL</option>\n";
echo "<option value=\"2\">WORLD</option>\n";
echo "<option value=\"3\">NATIONAL</option>\n";
echo "<option value=\"4\">LOCAL</option>\n";
echo "</select> \n";
echo "<input class=\"searchtext\" type=\"text\" name=\"searchval\" size=\"40\"> \n";
echo "<input class=\"searchbutton\" type=\"submit\" name=\"search\" value=\"Search\">\n";
echo "</div>\n";
echo "</form>\n";
if ($logout)
{
session_unset();
session_destroy();
}
?>
</body>
</html>
................................
Any ideas would be greatly appreciated as it is kind of a project stopper. Thanks everyone.