For your first language, PHP is a good choice. It's widely used, you can do useful stuff with it, and you can find a lot of free tutorials online. Once you get PHP down, you can move to any other language fairly easy. The logic behind programming is the most difficult thing to learn. You learn that with your first language. After that, all you need to learn is the syntax.
I would pick a project you would like to make and learn how to make that project by splitting it up into smaller sections. This lets you learn stuff that you are likely to use, and when you are done, you have something you can actually use, instead of a bunch of examples that aren't really good for anything.
|