Title: T_string error (header)
Last modified: August 19, 2016

---

# T_string error (header)

 *  [puscher](https://wordpress.org/support/users/puscher/)
 * (@puscher)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/t_string-error-header/)
 * 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.

## Tags

 * [header](https://wordpress.org/support/topic-tag/header/)
 * [T_STRING](https://wordpress.org/support/topic-tag/t_string/)

 * 0 replies
 * 1 participant
 * Last reply from: [puscher](https://wordpress.org/support/users/puscher/)
 * Last activity: [15 years, 11 months ago](https://wordpress.org/support/topic/t_string-error-header/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
