Customer Reviews
Wrecked by coding errors - By: Alan Lenton, 26 Jul 2008 
This is an adequate, though uninspired, look through the basics of using PHP & MySQL to build dynamic web sites. Because it is trying to cover two major topics from a starter level it is unable to treat eitherin the depth needed for the reader to become fluentin either the use of SQL databases, or PHP.
However, the book also suffers from a serious flaw which renders it unfit to be used by those wishing to learn the subjects involved. The sample PHP code is frequently incorrect, & this will cause endless confusion for newcomers. It is clear that insufficient attention has been paid to making sure the code is correct, which would seem to indicate that the authors haven't even tried to run the code they present.
What the editors at O'Reilly were thinking of when they let this go through, I really don't know.
Not recommended.
Full of mistakes, utterly unprofessional - By: A. Slater, 09 May 2008 
I'm on the verge of giving up with this book. I'm not a qualified programmer, so I want to be able to trust that the book I'm using is accurate. This book isn't.
Some typos are stupid simple things that anyone with internet experience can probably fix - e.g. it says apache.or/... when it means apache.org/... They'll cause what you're doing to fail, but will only cost you about 5 minutes to fix & a few units of sanity as you curse O'Reily Media for being so shockingly unprofessional.
Others are fatal (figurativly speaking!), or at least for someone like me of the level this book pretends to be aimed at (experience with HTML & CSS, no formal programming background). E.g. when it's guiding you through setting up PHP to run with Apache, it leads you by the hand as far as opening the .conf file you need to modifyin notepad, takes you to the right sectionin the file, & then... "Restart Apache so it can read the new configuration". But I haven't changed the configuration! They seem to have literally forgotten to write what I actually need to do! Even worse, the things they did bother to explain (e.g. that I might want to use notepad.exe) I could have worked out for myself. There's a screenshot, which has different code to what's on my screen, but copying it so they match doesn't work...
An experienced programmer who knows & understands php, mysql, apache etc would have no trouble working out what to do. But why would such a person need or want this book? What's the point of a teaching book when you need to already know everythingin the bookin order to spot when the book itself is wrong?
As for the explanations, they're sometimes good & easy to follow, but again there are careless slips. This book is quite often guilty of taking you by the hand through the simple things to the point of being patronising & then dumping a whole pile of new, difficult material on you without any real explanation.
E.g. it explainsin withering detail the concept of multiplication coming before addition unless there are brackets (thank you, but I did actually go to school...) then the very next page it casually mentions that ~ means 'bitwise NOT' without any explanation of what the 'bitwise' part means. So they expect be to have failed pre-GCSE-level maths, but to know technical programming jargon...
This is the second time I've been let down by an O'Reily book that claims to be accessible to & usable by non-programmers. Never again.
(p.s. after having looked for the ommitted information, I think it's the 1st edition of the book I've been struggling with. However, it seems from other reviews & discussions that the 2nd edition has exactly the same problems, & I can't find the information I need anywhere, including on the O'Reilly website. Therefore what I say still stands, although the particular typos & omissions might be different, hence 2 stars instead of 1)
Good intro, but too many typos - By: R Leslie, 30 Apr 2008 
Good overall introduction to using php & mysql, that also introduces you to using tools like PEAR & the smarty template engine. I bought the book because a) I've been impressed with O'REilly books before & b) It included chapters on Security & on Sessions & Access Controls. I was also impressed that the Mysql parts included basic dba necessities such as backups, imports & use of indexes etc. However (and this is why I'm not giving the full 5 stars) there were a lot of silly typosin the code I typedin from the book. Once I looked at the Oreilly site (they correct some typos there) I was able to hunt down the rest. I suspect it would be a showstopper for someone who hasn't the relevant programming experience however. Since the book didn't come with code on disk I can only give 3 stars (or three & a half).
Learning PHP and MySQL - By: Dr. Tami Brady, 07 Oct 2007 
PHP & MySQL are highly adaptive programs that can be used to create a variety of dynamic website potentials. Although fairly simple to use once you understand the basics, the learning curve on these programs is a little high at first. In order to use the capabilities, the user has to not only understand what the programs do & how they work together. However, probably the hardest part of the process is learning all the vocabulary associated with these systems.
Learning PHP & MySQL is a very good reference, especially for this latter challenge. The guide not only defines & explains each of the different concepts but gives examples that better illustrate these aspects while giving the user a glimpse into how they could use them for their own purposes. Especially for the more difficult sections, I really liked that I could replicate the code on my computer & see the results for myself. This aspect gave me a far better idea of how I could use these programsin conjunction to create the effects I want.