# Parse error: parse error, unexpected T\_INCLUDE, expecting T\_CASE or T\_DEFAULT or '}'

**URL:** <https://forum.kirupa.com/t/parse-error-parse-error-unexpected-t-include-expecting-t-case-or-t-default-or/258453>\
**Category:** programming\
**Created:** [April 24, 2008, 3:56am UTC](https://forum.kirupa.com/t/parse-error-parse-error-unexpected-t-include-expecting-t-case-or-t-default-or/258453 "2008-04-24T03:56:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ctdesign87](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/ctdesign87/32/851_2.png) [@ctdesign87](https://forum.kirupa.com/u/ctdesign87)\
**Post date:** [April 24, 2008, 3:56am UTC](https://forum.kirupa.com/t/parse-error-parse-error-unexpected-t-include-expecting-t-case-or-t-default-or/258453/1 "2008-04-24T03:56:08Z")

</div>

```php
switch ($printjob){

include ('includes/PrintQuotes/standardflyer/1sided_uncoated.php'); 

default:
		$printjob = 'null';
	}

```

Execute the whole script, and this appears:  
Parse error: parse error, unexpected T\_INCLUDE, expecting T\_CASE or T\_DEFAULT or ‘}’

Now, if I put the content in the 1sided\_uncoated.php file in the place of the include tag, it all works fine.

I’ve attached the PHP file where the first code is in (standardflyer\_settings.php), and also 1sided\_uncoated.php.

Any help appreciated
