Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![Jaime Rios](https://uploads.teamtreehouse.com/production/profile-photos/3852272/micro_11067515_10206015831093789_119969820704314801_n.jpg)
Jaime Rios
Courses Plus Student 21,100 PointsWhat am I doing wrong here?
I am having troubles with the challenge, but I watched the video four times and I still don't get it. This is the code I've been trying
<?php include ('../../config/company.php'); ?>
<html>
<head>
<title>Leadership | Shirts 4 Mike</title>
</head>
<body>
<h1>Leadership</h1>
<p><strong>Owner:</strong> ????</p>
<p><a href="/contact/">Contact</a></p>
</body>
</html>
2 Answers
![Sean T. Unwin](https://uploads.teamtreehouse.com/production/profile-photos/77880/micro_sean-swglance-02-bw-165x165.jpg)
Sean T. Unwin
28,690 PointsThe issue is that there is a space between include
and the opening bracket. Functions cannot have a space between the function name and the arguments parenthesis.
![lennon mudenda](https://uploads.teamtreehouse.com/production/profile-photos/5833632/micro_1429016297819.jpg)
lennon mudenda
Courses Plus Student 2,078 PointsI'm a newbie php coder but the include function is used when u gt some code you want to use in multiple files so you write it in one file and when u use the include function above it copies the code from the included file onto the file u want to use it in.... If it only contains <?php echo "hi budd"; ?> this code replaces the include line of code
Jaime Rios
Courses Plus Student 21,100 PointsJaime Rios
Courses Plus Student 21,100 PointsThanks so much. Does it applies also to JavaScript or other programming languages?
Sean T. Unwin
28,690 PointsSean T. Unwin
28,690 PointsThis applies to many languages. Javascript, however, has a more loosely typed syntax than a language like Python, so JavaScript will usually be able to parse the code if there is a space after the function name.
Jaime Rios
Courses Plus Student 21,100 PointsJaime Rios
Courses Plus Student 21,100 PointsI was not aware of that. Thanks again, I appreciate it.