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 trialNils Garland
18,416 PointsI am not doing wrong
I am 100% that this easy code is correct.
$name = "Mike";
Nils Garland
18,416 Pointsclick view challenge
Konrad Pilch
2,435 PointsIf I only could :) I can only use forum ;d
3 Answers
Greg Kaleka
39,021 PointsHi Nils!
You forgot the first part - you need to open a php code block:
<?php
$name = "Mike";
Nils Garland
18,416 Pointsoh yes silly me
Greg Kaleka
39,021 PointsDon't worry - you'll do many more silly things when learning to code
Konrad Pilch
2,435 PointsHere you go someone else done it for you :) Would be nice if treehouse would give people an ability to view the challenge, because sometimes is hard to help like that, as we can see -_-
Once you get better you spot things quicker from experience :D
Jennifer Nordell
Treehouse TeacherKonrad Pilch I don't know about you, but at the top right of my page is a "View Challenge" button. I generally right-click that and open in a new tab. Are you not getting the View Challenge button? That seems odd.
Konrad Pilch
2,435 PointsOh, I didn;t write it. Sometimes I have thing in my head, but i don't write them :D My subscription is out and i can only use forum. I can't help much when it comes to questions like this because i don't see the challenge.
Like you can see, the code is correct, but it was missing the opening PHP tag. I didn;t know what the challenge is asking for so i can't help him straight away, apart form him giving me the full challenge.
It's all dynamic at treehouse, untill , in my opinion, theres something made like this where i can't help if we think about this type of quesiton because of my subscription out.
And yeah, im crying over the subscirption, if it seems like lol it's summer and the gift i got is treehouse sub down : d gosh, the best time to learn is summer.
But at least i know what im doing.. PHP OOP and laravel.. so hopefully i learn it good enough and id earn soon.. in few months get the sub back.
Nils Garland
18,416 Points;)
Nils Garland
18,416 PointsThanks Greg and Konrad
Konrad Pilch
2,435 PointsKonrad Pilch
2,435 PointsIf you can tell me the challenge please :)