Lästiger kleiner PHP Fehler ?!

12/11/2011 23:00 Freddie_Faulisch#1
Hallo liebe Community, also ich habe folgenden Fehler:

Parse error: syntax error, unexpected '}' in C:\xampp\htdocs\Page\admin\inc\header.php on line 10


Beim folgenden Script:
PHP Code:
<?php
    session_start
();
    include(
'inc/config.inc.php');
    
    if(isset(
$_SESSION['user'])) {
        if( !
IsAdmin(mssql_escape_string($_SESSION['user'])) )
            echo 
'<h1>You don\'t have the rights to access this site!</h1>';
            exit;
        }
    } else {
        echo 
'<h1>You don\'t have the rights to access this site!</h1>';
        exit;
    }
?>
Wenn ich das "}" entferne, dann funktioniert das komplette Script nicht mehr :/ Sind die Klammern falsch gesetzt? Kenne mich da leider nicht so gut aus..
12/11/2011 23:32 .exTremez™#2
PHP Code:
<?php
    session_start
();
    include(
'inc/config.inc.php');
    
    if(isset(
$_SESSION['user'])) {
        if( !
IsAdmin(mssql_escape_string($_SESSION['user'])) ){
            echo 
'<h1>You don\'t have the rights to access this site!</h1>';
            exit;
        }
    } else {
        echo 
'<h1>You don\'t have the rights to access this site!</h1>';
        exit;
    }
?>