Got this little bit of PHP, i keep getting a syntax error for.
Parse error: syntax error, unexpected '}' in C:\wamp\www\portfolio\index.php on line 22
        include("pages/header.php");
            $allowed = array('about', 'header', 'index' , 'home'); // add the pagenames you need
            $page = ( isset($_GET['home']) ) ? $_GET['home'] : 'index';
            if ( in_array($allowed, $page) ){
                include("pages/$page.php");
            } 
            // else {
            //     include("pages/404.php");
            // }
        ?>
By adding an opening { I then get rid of the original error and then get faced with a table that holds this information:
#   Time    Memory  Function    Location
1   0.0003  241728  {main}( )   ..\index.php:0
2   0.0004  243232  in_array ( )    ..\index.php:20
not sure what these values mean or how to go about rectifying the problem.
