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

PHP

invalid argument

why i'm having trouble with this? I'm stuck. I've checked the path and I'm still getting this error

2 Answers

If you copy and pasted the error then it might be the dot and semi color before the C

Where are you getting invalid argument? Is it a segment of code? This needs a bit more information to help you out.

Warning: include(D:\wamp\www\PHP1ooter.php) [function.include]: failed to open stream: Invalid argument in D:\wamp\www\PHP1\index.php on line 52

Warning: include() [function.include]: Failed opening 'D:\wamp\www\PHP1ooter.php' for inclusion (include_path='.;C:\php5\pear') in D:\wamp\www\PHP1\index.php on line 52

I am including the footer.php in the my file. The header.php works when i have included it. but the footer does not. Even they have same path.