• Why when I insert this code in the header:

    <?php
    $user_info = get_userdata(1);
    if ($user_info->user_level == 10 ) {
    the code you want to show 'admin
    }
    ?>

    It appears this error:
    Parse error: syntax error, unexpected T_STRING ???
    Sorry for the language but I’ m Italian ??

  • The topic ‘T_string error (header)’ is closed to new replies.