Head First PHP & MySQL
Publisher: O'Reilly Media
Final Release Date: December 2008
Pages: 814

If you're ready to create web pages more complex than those you can build with HTML and CSS, Head First PHP & MySQL is the ultimate learning guide to building dynamic, database-driven websites using PHP and MySQL. Packed with real-world examples, this book teaches you all the essentials of server-side programming, from the fundamentals of PHP and MySQL coding to advanced topics such as form validation, session IDs, cookies, database queries and joins, file I/O operations, content management, and more.

Head First PHP & MySQL offers the same visually rich format that's turned every title in the Head First series into a bestseller, with plenty of exercises, quizzes, puzzles, and other interactive features to help you retain what you've learned.

  • Use PHP to transform static HTML pages into dynamic web sites
  • Create and populate your own MySQL database tables, and work with data stored in files
  • Perform sophisticated MySQL queries with joins, and refine your results with LIMIT and ORDER BY
  • Use cookies and sessions to track visitors' login information and personalize the site for users
  • Protect your data from SQL injection attacks
  • Use regular expressions to validate information on forms
  • Dynamically display text based on session info and create images on the fly
  • Pull syndicated data from other sites using PHP and XML
Throughout the book, you'll build sophisticated examples -- including a mailing list, a job board, and an online dating site -- to help you learn how to harness the power of PHP and MySQL in a variety of contexts. If you're ready to build a truly dynamic website, Head First PHP & MySQL is the ideal way to get going.
Table of Contents
Product Details
About the Author
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyHead First PHP & MySQL
 
3.6

(based on 26 reviews)

Ratings Distribution

  • 5 Stars

     

    (8)

  • 4 Stars

     

    (10)

  • 3 Stars

     

    (1)

  • 2 Stars

     

    (4)

  • 1 Stars

     

    (3)

75%

of respondents would recommend this to a friend.

Pros

  • Helpful examples (19)
  • Easy to understand (15)
  • Well-written (12)
  • Accurate (10)
  • Concise (8)

Cons

  • Difficult to understand (5)
  • Not comprehensive enough (4)
  • Too many errors (3)

Best Uses

  • Novice (17)
  • Student (15)
  • Intermediate (12)
    • Reviewer Profile:
    • Developer (16), Designer (10), Maker (4), Educator (3), Student (3)

Reviewed by 26 customers

Sort by

Displaying reviews 1-10

Back to top

Previous | Next »

(1 of 1 customers found this review helpful)

 
5.0

Perfect

By Somebody

from Norway

About Me Designer, Developer

Verified Reviewer

Pros

  • Easy to understand
  • Helpful examples
  • Well-written

Cons

    Best Uses

    • Intermediate
    • Novice
    • Student

    Comments about oreilly Head First PHP & MySQL:

    The book is perfectly! Everything is well explained. It's true that it is now basically outdated, but the changes in PHP are very minor, you don't really need to care about.

     
    4.0

    Engaging

    By Pip

    from London, England

    About Me Designer, Developer, Maker

    Verified Reviewer

    Pros

    • Developing From Chapter1
    • Easy to understand
    • Engaging
    • Helpful examples
    • Practical Examples
    • Well-written

    Cons

    • Too many errors

    Best Uses

    • Html Css Experience
    • Novice
    • Student

    Comments about oreilly Head First PHP & MySQL:

    I'm a Graphic Designer by trade with HTML + CSS experience and I've been teaching myself PHP + MySQL rather unsuccessfully up until now. The lynda.com tutorials really struggle to keep my attention and some other tech books are just so dry and dull I get bored and look elsewhere.

    This book is unlike the above. If you're keen to get things going, and learn in a interactive way then you could do alot worse than give this book a go.

    I learn best by, following, repeating, tinker-ing. What happens if I do this...? And this book allows that kinda mentality.

    For future editions... it would be absolutely fantastic if there was a video series to accompany the book - as a summary of what you've learned — just to cover all learning styles, a recap of variables, arrays etc would be great.

    The ONLY slight annonyance is the PHP / MYSQL versions are outdated now (naturally, as it's 2014 at the time I write this, the book was written 2008) — and you do find yourself spending quite alot of time debugging, and problem solving which does slow things down.

    But a great great book, I think I'll get the Javascript book next!

    (1 of 1 customers found this review helpful)

     
    3.0

    Hard to get start

    By John

    from Malden, MA

    About Me Designer, Developer

    Verified Buyer

    Pros

    • Accurate
    • Easy to understand
    • Helpful examples

    Cons

    • Difficult to understand
    • Not comprehensive enough

    Best Uses

    • Novice
    • Student

    Comments about oreilly Head First PHP & MySQL:

    The appendix b about getting start to install PHP and MySQL to computer is helpless. It doesn't provides enough information for people using Mac. Should give more detail on that. That's why I got really hard for my first PHP programm.

     
    4.0

    Good Book to get you stared

    By The new guy

    from OHIO

    Verified Reviewer

    Pros

    • Simple Instruction

    Cons

    • Very Basic

    Best Uses

    • Beginner

    Comments about oreilly Head First PHP & MySQL:

    For anyone buying this like any other books, there will be some pros and cons to which the material is be presented. I have some advance PHP and MySQL books, this book fill the void of simplication with graphics. By the books and judge for yourself, if then you must return it then do so. I like and the other two series of books that I've purchased. Simple instructions combine with advance instructions fill in the the middle.

     
    5.0

    Great book

    By Running David

    from Nashville, TN

    About Me Designer, Developer

    Verified Reviewer

    Pros

    • Accurate
    • Easy to understand
    • Helpful examples
    • Well-written

    Cons

      Best Uses

      • Intermediate
      • Student

      Comments about oreilly Head First PHP & MySQL:

      I am a college student who had 2 years of programming experience and is looking forward to doing some website dev for a organization. This book really helps me to build my web dev skills based on my programming experiences. The author did a good job explaining the fundamental things and giving interesting and engaging examples. Great book!

      (2 of 2 customers found this review helpful)

       
      4.0

      Good book but...

      By Mrdjhiphop23

      from Chicago,IL

      About Me Developer, Student

      Pros

      • Concise
      • Easy to understand
      • Helpful examples

      Cons

      • Storylines

      Best Uses

      • Intermediate
      • Novice

      Comments about oreilly Head First PHP & MySQL:

      The book is really great and I would recommend it to beginners who know html and css already because you would already need to know the syntax or the foundation of how programming really is. So, beginners read their new book head first for html5 and css3. Other, than that I love the book but sometimes the book gets carried away with the characters story plot line and sometimes you focus on a different aspect of the problem rather than the coding. Overall, I would come back and buy there other books!

      (1 of 1 customers found this review helpful)

       
      4.0

      Good to get you started

      By Drew

      from Murfreesboro, TN

      About Me Developer

      Verified Reviewer

      Pros

      • Concise
      • Easy to understand
      • Helpful examples

      Cons

        Best Uses

        • Intermediate
        • Novice

        Comments about oreilly Head First PHP & MySQL:

        I knew SQL and C++ before I got this book. It was great to get me started on PHP and tie it to my knowledge of SQL. Don't expect this book to make you an expert, but I don't think that was its purpose. Even if you have no experience in PHP or SQL, this book can get you started, and give you the knowledge to know what to search for to get more advance functions.

        (1 of 13 customers found this review helpful)

         
        2.0

        Low information density

        By GaryM

        from Nashua, NH

        About Me Developer

        Verified Reviewer

        Pros

          Cons

          • Too basic

          Best Uses

          • Novice

          Comments about oreilly Head First PHP & MySQL:

          The book has the basic information, but it's buried among cutesy pictures and stories. Statements like "We know what your brain is thinking" and "The activities are NOT optional" exemplify what's wrong with the book; it puts the author rather than the reader in charge of the learning process and assumes I have to learn things in a specified order, a specified way, and with specified jokes along the way. Just give me the information!

          I suspect I should avoid the "Head First" series in general. It's not what I've come to expect from O'Reilly.

          (4 of 6 customers found this review helpful)

           
          2.0

          required software outdated

          By jose v

          from spain

          About Me Maker

          Pros

            Cons

              Best Uses

                Comments about oreilly Head First PHP & MySQL:

                The php, mysql and apache versions are totally outdated and I can't do work the newer on Windows 7.
                So I can't go beyond chapter 2.

                (6 of 6 customers found this review helpful)

                 
                4.0

                Great book for beginning PHP Developers

                By Senior Web Developer

                from TX

                About Me Developer

                Verified Reviewer

                Pros

                • Accurate
                • Easy to understand
                • Helpful examples

                Cons

                  Best Uses

                  • Intermediate
                  • Novice
                  • Student

                  Comments about oreilly Head First PHP & MySQL:

                  I came in with only HTML/CSS knowledge and since my new position at a web development company demanded more, I bought this book. It was extremely helpful through visual representations and clever examples that kept my interest and made it more about application then pages upon pages of text. It explained the kind of programming details that I never received in previous books about HTML and CSS (for example, any time they added code that wasn't a part of the chapter's lesson, instead of leaving me to piece it together, they explain it thoroughly). Overall, the book was a pleasure to read and I am sure I will be purchasing more Head First books in the future. In regards to my work performance, it gave me a great foundation to create database oriented websites. The book gave me all of the tools I needed to get into my job and understand what was going on and expand upon and improve on what is already there. This has led to much-increased work performance and a satisfied employer. One complaint I have is near the end of the book, specifically about creating graphics through the PHP GD library, the author stopped explaining added code with as much detail as before. This led to me doing what I hadn't needed to do before, get on the internet and search. Other than that, I am an extremely satisfied customer. Thanks.

                  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: $35.99
                  Formats:  DAISY, ePub, Mobi, PDF
                  Print & Ebook: $49.49
                  Print: $44.99

                  Available in Multiple Languages