PHP newbie: teach me how to speak it
August 22, 2008 3:52 AM
Subscribe
I'm looking to learn PHP. Where should I start?
When you began learning PHP, what did you find most useful or helpful? I don't mind books, websites, courses or whatever, though I'd prefer something I could do at home, at my leisure. I also know very very little about PHP, so I need something for a real beginner.
If it's relevant, I'll be mostly dealing with Wordpress (and associated plugins) to begin with, and MySQL. I don't mind shelling out some money, but I'd prefer to keep it cheap.
posted by Solomon to computers & internet (9 comments total)
17 users marked this as a favorite
The basic syntax of PHP takes about half an hour to learn - it's very approachable if you've used javascript, for example. Beyond that it's really just a case of familiarising yourself with the way variables (HTTP vars especially) are treated, and some of the thousands of functions available in PHP. String functions, session handling and MySQL functions are the bits you'll end up using most in PHP projects. For WordPress you'll be working a lot with preexisting classes, so a basic grounding in class syntax is a help.
Google PHP tutorials and you most likely won't need to buy book.
posted by le morte de bea arthur at 5:08 AM on August 22, 2008