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

1 Answer

Greg Kaleka
Greg Kaleka
39,021 Points

Hey Brent,

Glad you're feeling a bit antsy to get into it :). I'll start off by saying I remember when I first really realized that all programming (ok not all, but a lot of the "real" stuff) is really just combinations of if statements loops, etc. Having a solid foundation is important because the more complicated stuff is basically just more layers of this simple logic. It sunk in for me when I saw example code for how to check to see if someone had paid for the app. Basically it was an if statement like this:

if (user.hasPaid) {
    showPremiumContent()
}

"That's it??!" Yeah, that's it.

Anyway, for PHP examples that might be a bit more advanced, you may want to check out the workshops on PHP here at Treehouse. Browse through them and see what might spark your fancy.

There's a good one on PHP and the Stripe API, which is used to make credit card purchases. Might be right up your alley.

Happy coding!

Cheers :beers:

-Greg