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 Type Declarations

this is too far to start with programming, please recommend a basic starter course for pre php

php for beginners

5 Answers

In short, if you learn JS, you will be a ninja in PHP!

This is a good course to start: https://teamtreehouse.com/library/php-basics

The workshop for PHP7 is the main features added since PHP5.

+1 for suggesting w3schools. I'm tired of those that keep bashing that site when it's a great resource for learning the syntax without so much distraction.

If you've never programmed before, start with JavaScript. That will give you a basic understanding of programming for the web, and you can use XHR (AJAX) to bridge from the front end to the backend. That's a good place to start learning PHP.

okay.thanks for the reply. let me check out js will get back if stuck.

Plus there's supposed to be an Intro to Programming course that uses javascript but focuses more on principles rather than Javascript syntax.

Not useful for beginners.