I just realized that I’m using a 5 year old book to learn PHP with MySQL.
I realized this when I got to a bit of the book teaching how to find ‘orders placed in the last month’ I had to adjust it to ‘orders placed in the last 72 months’ to get the same results!!!
So has much changed in those 5 years? Am I missing out on some neat new features of PHP? (And to a lesser extent MySQL. I assume that won’t change as fast or as much as PHP)
MySQL has gained a good bunch of features in the last 5 years or so, most of which you can ignore if you want. For “web” programming, probably the most significant is much better support for unicode. If my experience with Perl/MySQL is anything to go by, if you want to take advantage of that, you’d better read the documentation really closely. That is, it works well, usually, but only if you know what you’re doing.
Your book probably cites which version of PHP they are using. PHP5 is currently the standard. I don’t do a lot of programming, but what I’ve found is that some functions are outdated, but php.net’s documentation will be sure to tell you of this if you Google the function. I wouldn’t worry about it too much - just Googling ‘big changes from php x.x to php y.y’ should give you the big things to check out.
Humm. I was really actually hoping dope-php-ers would be able to reccomend from personal experience than doing the amazon equivalent of ‘let me google that for you’.
But thanks anyway I did end up purchasing one from the top sellers list on amazon (UK amazon actually)…
I have actually got most of the old book done, but I like the fact this one includes javascript, and I see no harm in going through a book and being taught things I already picked up before. Re-inforces it.