Ok, here’s my problem:
[url]http://www.summel.net/cobalt/admin
Here’s the error that pops up:
[QUOTE]
Notice: Undefined index: section in /home/summel/www/www/cobalt/admin/index.php on line 50
Here’s the code for that div:
[CODE]<div class=”main_right_column”>
<?php
// MAIN SWITCH STATEMENT
switch($_GET[‘section’])
{
// SECTION = “”
default:
echo “<div style=”text-align: right;”>”;
echo “<img src=”../images/cobalt_welcomeheader.png” alt=”Welcome to Cobalt!” />”;
echo “</div>”;
echo “<h5 class=”welcome” style=”font-weight: 100;”>”;
echo “Cobalt Download Manager was designed to help webmasters offer feature-rich download capabilities to their users rather simply and rather quickly.”;
echo “</h5>”;
break;
// SECTION = “category”
case “category”:
include(‘includes/sections/categories.php’);
break;
// SECTION = “download”
case “download”:
include(‘includes/sections/downloads.php’);
break;
case “login”:
echo(“Login”);
break;
}
?>
</div>
Can anyone tell what the problem is resulting from?
I asked a friend of mine and I couldn’t recall if he gave me a solution for it or not.
Thanks, guys.