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
robinbehroozi
15,912 PointsPHP that could have been explained more clearly
Hi,
This is more a comment than a question. I just recently finished the "build a simple PHP application" course, and it found it quite challenging. I was practicing some PHP last night and I had an "aha" moment.
What happened was, I realized that when you have an input field, and you set a name="something", "something" becomes they key in a key:value relationship, and the thing that you enter becomes the value. So for instance, if the method is "post", then to access the value, you would use $_POST["something"], and something would be the key.
I just thought the examples that we're given could have been clearer and simpler. I wasn't sure wether to post a comment like this or not, because it seems negative, but that's not my point. I enjoyed the PHP course...it's just that for a non-programmer like myself, it would have been nice if someone had explained this concept in simpler terms.
I found an ebook called "I hate php" and it has really helped me. Funny title I know. Anyway, hopefully someone will see this comment as constructive criticism rather than just criticism.
2 Answers
Kevin Korte
28,149 PointsI can relate. I had a lot of "ahh hah" moments working with PHP after the course.
Ricardo Hill-Henry
38,443 PointsI think most of the topics covered by Randy could be more clear. I'm currently doing the Object Oriented Javascript courses, and I'm having the same problems. Randy will implement code without alerting the viewer, leaving me to spend unnecessary time bug searching. There's also an assumed level of experience or "you'll understand it later." Though, this isn't a problem for me now, it definitely caused confusion when first beginning with the PHP courses many months ago.