Home › Forums › Back End › Undefined index: page › Reply To: Undefined index: page
November 27, 2014 at 8:31 pm
#189396
Participant
That’s a possible cause of your problem. If this is indeed what is causing your problem, then the solution is to check if $_GET['page']
exists before you try to use it:
<?php
// add this "isset" check:
if( isset( $_GET['page'] ) ){
if( $_GET['page']=='home' ){
include "modul/home.php";
}
elseif( $_GET['page']=='detail' ){
include "modul/detail.php";
}
}