I have sth like this:
<?php
$body = $_GET["body"];
if ($body=="")
{
include("includes/desktop.php");
}
else
{
if (is_file("includes/$body.php"))
{
include("includes/$body.php");
}
else
{
include("includes/desktop.php");
}
}
?>
How to make that this notice will disappear? It happens only when $_GET["body"] is empty.
Notice: Undefined index: body in C:\wamp\www\admin\index.php on line 106