error: "Notice: Undefined index: page in C:\wamp\www\digi\admin\config\setup.php on line 8"
my code is:
    <?php
   #setup document
                      //host-username-password-database_name
   $db = mysqli_connect('localhost','root','','dynamic');
   if($_GET['page'] == "")
               {$pg = 'home';}
   else
               {$pg = $_GET['page'];}
   include('/functions/sandbox.php');
   include('/functions/template.php');
   $page_title =  get_page_title($db,$pg);
?>
 
     
     
    
Declare your variables, for example when you try to append a string to an undefined variable. Or use `isset() / !empty()` to check if they are declared before referencing them. – Regolith Aug 18 '16 at 10:03