Learning PHP & MySQL, 2nd Edition
Step-by-Step Guide to Creating Database-Driven Web Sites
Publisher: O'Reilly Media
Released: August 2007
Pages: 432

PHP and MySQL are quickly becoming the de facto standard for rapid development of dynamic, database-driven web sites. This book is perfect for newcomers to programming as well as hobbyists who are intimidated by harder-to-follow books. With concepts explained in plain English, the new edition starts with the basics of the PHP language, and explains how to work with MySQL, the popular open source database. You then learn how to put the two together to generate dynamic content.

If you come from a web design or graphics design background and know your way around HTML, Learning PHP & MySQL is the book you've been looking for. The content includes:

  • PHP basics such as strings and arrays, and pattern matching
  • A detailed discussion of the variances in different PHP versions
  • MySQL data fundamentals like tables and statements
  • Information on SQL data access for language
  • A new chapter on XHTML
  • Error handling, security, HTTP authentication, and more
Learning PHP & MySQL explains everything from fundamental concepts to the nuts and bolts of performing specific tasks. As part of O'Reilly's bestselling Learning series, the book is an easy-to-use resource designed specifically for beginners. It's a launching pad for future learning, providing you with a solid foundation for more advanced development.
Table of Contents
Product Details
About the Author
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyLearning PHP & MySQL, 2nd Edition
 
1.8

(based on 13 reviews)

Ratings Distribution

  • 5 Stars

     

    (0)

  • 4 Stars

     

    (3)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (2)

  • 1 Stars

     

    (8)

Reviewed by 13 customers

Sort by

Displaying reviews 1-10

Back to top

Previous | Next »

 
1.0

Way too many errors

By Charlie

from Taiwan

About Me Developer

Verified Reviewer

Pros

  • Easy to understand

Cons

  • Too many errors

Best Uses

    Comments about oreilly Learning PHP & MySQL, 2nd Edition:

    In my past experience, O'Reilly = Quality. You have to publish countless wonderful books to polish a brand, but one single terrible book like this can easily destroy it.

    This second edition was released more than 3 years ago and it's still the latest buggy version of it. How could you tolerate the fact that it's still purchasable in bookstores? You should recall all printed copies of this book. Another question is: why are there still so many "unconfirmed" errata? What are you skeptical about?

    (1 of 1 customers found this review helpful)

     
    1.0

    Disappointment

    By Hari

    from Tampa, FL

    About Me Sys Admin

    Pros

    • None

    Cons

    • Too many errors

    Best Uses

    • Doorstop

    Comments about oreilly Learning PHP & MySQL, 2nd Edition:

    The other reviewers beat me to it. It has too many errors in the coding and other areas to be that useful. A great disappointment to since it bared the O'Reilly name.

    (1 of 1 customers found this review helpful)

     
    2.0

    Good idea but way too many errors

    By chris

    from Undisclosed

    Comments about oreilly Learning PHP & MySQL, 2nd Edition:

    I bought this book because it looked like it would give me an overview of the entire process of creating dynamic sites, from installing the prerequisites to optimizing security, etc.

    Well it does cover everything I expected and in the clear, easy-to-read style I have come to expect from O'Reilly, who have long been my favourite publisher of programming books.

    But where this falls down is the number of errors within the text - I've printed 15 pages of errata! That is just not acceptable. As a technical writer myself you just DON'T put your name to a piece of work unless you are 100% sure the quality is up to scratch. Review, revise, peer review, proof - how did these errors slip through the net?

    I hope O'Reilly will do the decent thing and provide a free copy of the 3rd Edition to all those who bought the 2nd.

    Such a shame as this promised to be an excellent book; sure it is still very useful but it's highly annoying having to check the errata every time I use an example.

    (1 of 1 customers found this review helpful)

     
    1.0

    Don't buy this book.

    By mr x

    from Undisclosed

    Comments about oreilly Learning PHP & MySQL, 2nd Edition:

    The php and html code in this book just don't work. To save yourselves many frustrating hours choose another book!

     
    2.0

    A Testing Read

    By Peter

    from Undisclosed

    Comments about oreilly Learning PHP & MySQL, 2nd Edition:

    This is a good introduction to the subject

    The best (or most frustrating) part is that much of example code does not work as printed in the book... If you are lucky the errata printed on the O'Reilly website shows the correction(s), but a number of occasions I have simply had to do the bug fixing myself... I guess this has meant that the concepts and application have sunk in more than they might have if the code as printed worked!

    I still think that the author and publisher should check that what is printed actually works.

    (2 of 2 customers found this review helpful)

     
    1.0

    Oreilly usually does great, but these authors completely blew it!!!

    By Jack_Man

    from Undisclosed

    Comments about oreilly Learning PHP & MySQL, 2nd Edition:

    I realize it's an introductory book, but the authors wrote the book as if it were for 3rd graders, repeating passages and phrases over and over and over! Were they just trying to meet the page requirements or something? And this is the 2nd Edition!!!!!!!!!

    I have some Suse, RHEL, HPUX, Ubuntu and FedoraCore9 Linux experience, Apache HTTP experience, Java programming experience, C++, etc, etc, Microsoft SQL Server, Oracle, and Informix skills.

    Don't buy this book if you really want to learn PHP and MySQL, especially if you don't have much programming experience. I've wasted approximately 52 hours total (so far) on errors and serious technical flaws throughout the book. Just like some of the other reviewers have said, the installation procedures were completely messed up. Obviously I didn't need to go through all the steps for Linux, but I also tried hosting on my Windows XP laptop.

    The figures that supposedly help to clarify the coding explanations are completely asinine (inanely foolish).

    To quote the book on page 16, "Many Linux distributions install Apache, PHP, and MySQL by default, so you may not even need to install them. If this looks too daunting, try XAMPP." What? Everything is already installed and working on my Fedora box! How could that be "daunting" and why whould I want to try "XAMPP"?

    Anyway, I don't want to waste anymore of my time. I have about 15 other O'Reilly titles, and those were excellent or good. I think O'Reilly somehow got conned into letting these authors write this book. "DON'T BUY THIS BOOK!"

    (2 of 2 customers found this review helpful)

     
    1.0

    Learning PHP & MySQL (2nd Edition)

    By Steven M

    from Undisclosed

    Comments about oreilly Learning PHP & MySQL, 2nd Edition:

    I'm sure the instructional material is wonderful but I wouldn't have any idea since the MySQL configuration instructions simply don't work.

    Like some of the previous posts, I too have spent a lot of time trying to figure out how to get set up let alone actually learn anything.

    The authors might as well have said,

    1) install apache

    2) install php

    3) install mysql - then google hack until something works because it will be much faster than trying to find some help on our website.

    In fact, I've tried twice to post to the forums looking for help and when I pressed the submit button it closed my online session! Now that's quality sheesh! If only I had read the reviews first.

    I am so let down, while I was in the book store it seemed so promising and as I have read ahead it seemed fairly straight forward but noooooo it had to go and lay an egg right from the start!

    So now I'm out $30 bucks and starting to think the 100% satisfaction link just a continued waste of my time.

    Steve M

    (0 of 1 customers found this review helpful)

     
    4.0

    I think it is not so bad....

    By Daniel

    from Undisclosed

    Comments about oreilly Learning PHP & MySQL, 2nd Edition:

    I think its necessary to write a review in retrospect to the last comment posted about this book. Yes, this is true that when working with Xampp or MAMP there may be some issues. However every system is different, and it is not possible to list a setup for every system, or the book would cost way more then 30 dollars. There are port issues with MAMP, and sometimes XAMPP and this has to do with the default ports different for windows and mac, you can look them up on the web and will also find hundreds of solutions. The book in itself I think is more about php then setting up a server. It's nice though that it was included, however I personally did not require it myself. If your a reader looking to read about how to setup xammp or mamp, or any of the other many server programs out there, perhaps you should look for a book called learning XAMPP or MAMP or debian, anyways. Good book, simple to read, the examples are easy to follow, and not too complicated. THank you

    PS. excuse any errors, I lack in time.

    (0 of 1 customers found this review helpful)

     
    1.0

    Errors in first 23 pages cost me a whole day

    By Mike

    from Undisclosed

    Comments about oreilly Learning PHP & MySQL, 2nd Edition:

    This review may be premature, as I am still struggling through Chapter 2 on installation.

    Thanks, O'Reilly, for blowing nearly a whole day of my time because of errors and omissions in the book. I've been struggling with getting mySQL to work with PHP (after all, that's what the whole book is about!!!) only to discover the erratum on page 23.

    Seriously, O'Reilly? The whole book is devoted to PHP and mySQL and you couldn't even get that right in the installation section? I have absolutely no confidence in this book now, given the gravity of that error, plus the other obvious errors I've seen so far. How can I trust any instructions I'm being given? I wonder how much more of my time you're hoping to throw away making me chase answers to problems that only exist because of errors in your book?

    This is pathetic considering the book cost $30 USD.

    Because of this single error I'm a day behind now. Some errors are trivial enough to be excusable. Failing to include steps in the installation instructions necessary to move forward with the very subject of the book is inexcusable.

    Hey editors - how about actually proofing a book before you release it? Your obviously slack attitude has real consequences for your customers.

    I also find it shameful that the author pretends that the errors in the book are OK or trivial. Failing to actually describe steps is not the same as a typographical error. But maybe she thinks I should have assumed I was supposed to do something that I was explicitly instructed NOT to do, in the same way we're supposed to assume "slash" means "backslash."

    Do not buy this book. O'Reilly has not earned your money on this one.

     
    1.0

    Mistakes make the book frustrating at best

    By Becka

    from Undisclosed

    Comments about oreilly Learning PHP & MySQL, 2nd Edition:

    I bought this book because I have had good luck with O'Reilly books in the past. This book was full of errors. The most frustrating and time consuming were in the code examples. I just spent an inordinate amount of time trying to figure out what was wrong with my installation of PEAR, until I ran across some code on another web site that pointed out the line on page 193 should have included "UNIX +" after@ and before $db_host. How I would have figured this out on my own is beyond me, especially since I am not running UNIX. The author reviews her own book saying -

    "As the co-author of this book I'd like to say the following:

    * Yes there are some typographical errors"

    She goes on to say that they are addressed in the errata, wouldn't it have been more circumspect to have found and corrected the typos BEFORE the book went to print. Perhaps even worked through the code examples to prevent the numerous mistakes. As an instructor of computer science at a collegiate level I would HIGHLY recommend finding another book to use to learn PHP.

    Displaying reviews 1-10

    Back to top

    Previous | Next »

     
    Buy 2 Get 1 Free Free Shipping Guarantee
    Buying Options
    Immediate Access - Go Digital what's this?
    Ebook: $23.99
    Formats:  DAISY, ePub, Mobi, PDF