I get this error “Undefined index: p in C:\xampp\htdocs\uniten_portal\inc\ses.php on line 32” [duplicate]

<PLEASE USE THIS TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>

<Below this line, in what way does your code behave incorrectly? Include ALL error messages.>

```

p = _GET[‘p’];
if($p == “”) {
$p = “home”;
}
include(“view/$p.php”);
?>

<do not remove the three backticks above>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.