Head First PHP & MySQL and thousands of other textbooks are available for instant download on your Kindle Fire, iPad, PC or Mac. Get your free Kindle app.


or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
Kindle Edition
Read instantly on your iPad, PC, Mac or Kindle Fire
Buy Price: $25.26
 
 
   
Sell Back Your Copy
For a $9.17 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Head First PHP & MySQL
 
 

Head First PHP & MySQL [Paperback]

Lynn Beighley (Author), Michael Morrison (Author)
3.9 out of 5 stars  See all reviews (53 customer reviews)

List Price: $44.99
Price: $26.59 & this item ships for FREE with Super Saver Shipping. Details
You Save: $18.40 (41%)
  Special Offers Available
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Want it delivered Tuesday, May 29? Choose One-Day Shipping at checkout. Details
Textbook Student FREE Two-Day Shipping for students on millions of items. Learn more

Formats

Amazon Price New from Used from
Kindle Edition $25.26  
Paperback $26.59  
Unknown Binding --  
Sell Back Your Copy for $9.17
Whether you bought it on Amazon or somewhere else, you can sell it back through our Book Trade-In Program at the current price of $9.17.
Used Price$16.50
Trade-in Price$9.17
Price after
Trade-in
$7.33

Book Description

December 29, 2008 0596006306 978-0596006303 1

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.

Special Offers and Product Promotions

  • Buy $50 in qualifying physical textbooks, get $2 in Amazon MP3 Credit. Here's how (restrictions apply)

Frequently Bought Together

Head First PHP & MySQL + Head First HTML with CSS & XHTML + Head First HTML5 Programming: Building Web Apps with JavaScript
Price For All Three: $80.21

Show availability and shipping details

Buy the selected items together
  • In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Head First HTML with CSS & XHTML $23.39

    In Stock.
    Ships from and sold by Amazon.com.
    Eligible for FREE Super Saver Shipping on orders over $25. Details

  • Head First HTML5 Programming: Building Web Apps with JavaScript $30.23

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details



Editorial Reviews

About the Author

Lynn Beighley is a fiction writer stuck in a technical book writer's body. Upon discovering that technical book writing actually paid real money, she learned to accept and enjoy it. After going back to school to get a Masters in Computer Science, she worked for the acronyms NRL and LANL. Then she discovered Flash, and wrote her first bestseller. A victim of bad timing, she moved to Silicon Valley just before the great crash. She spent several years working for Yahoo! and writing other books and training courses. Finally giving in to her creative writing bent, she moved to the New York area to get an MFA in Creative Writing. Her Head First-style thesis was delivered to a packed room of professors and fellow students. It was extremely well received, and she finished her degree, finished Head First SQL, and can't wait to begin her next book.

Lynn loves traveling, cooking, and making up elaborate background stories about complete strangers. She's a little scared of clowns.

Michael Morrison is a writer, developer, toy inventor, and author of a variety of books covering topics such as Java, Web scripting, game development, and mobile devices. Some of Michael's notable writing projects include JavaScript Bible, 6th Edition (Wiley, 2006),Teach Yourself HTML and CSS in 24 Hours, 7th Edition (Sams Publishing, 2005), Beginning Mobile Phone Game Programming (Sams Publishing, 2004) and Java Unleashed (Sams Publishing, 1997). Michael is the intructor of several Web-based courses, including DigitalThink's Introduction to Java 2 series, JavaBeans for Programmers series, and Win32 Programming series (www.digitalthink.com).

In addition to his primary profession as a writer and technical consultant, Michael is the founder of Stalefish Labs (www.stalefishlabs.com), an entertainment company specializing in games, toys, and interactive media. When not glued to his computer, skateboarding, playing hockey, or watching movies with his wife, Masheed, Michael enjoys hanging out by his koi pond.


Product Details

  • Paperback: 814 pages
  • Publisher: O'Reilly Media; 1 edition (December 29, 2008)
  • Language: English
  • ISBN-10: 0596006306
  • ISBN-13: 978-0596006303
  • Product Dimensions: 9.2 x 8 x 1.6 inches
  • Shipping Weight: 3 pounds (View shipping rates and policies)
  • Average Customer Review: 3.9 out of 5 stars  See all reviews (53 customer reviews)
  • Amazon Best Sellers Rank: #22,288 in Books (See Top 100 in Books)

More About the Authors

Discover books, learn about writers, read author blogs, and more.

Customer Reviews

Most Helpful Customer Reviews
53 of 55 people found the following review helpful
Format:Paperback
I have been trying to learn PHP and MySQL for a couple of months now. I have read (well, started) about 4 beginner's books. I would understand a little bit of it, but then the more I got into a book, the more confused I would get. It just seemed like things were either coming at me too fast or the writing style didn't flow, at which point I stopped learning. Not so with Head First PHP & MySQL. This book I absolutely cannot put down. The style makes learning so easy and fun that I just want to keep reading it. The funny thing is, the first time I saw a Head First book, I thought the layout would hinder my learning, not help it. Boy, was I wrong.
Another great thing about this book is the flow. Most PHP and MySQL books start off with about 3-4 chapters of PHP, then 3-4 chapters of MySQL, then the rest of the book teaching you how to use the two programs together. But by the time I got to the chapters learning how to use them together, I had forgotten half the PHP from the first chapters! This book has you writing scripts using PHP AND MySQL in chapter two. but you don't feel rushed.
Let me close in describing who I think this book is good for, and who it isn't. If you are three days away from a test in these two subjects, and just need to cram to pass the class and don't care about learning, just passing, then get another book. There are books out there that have specific areas dedicated to each term (variable, array, etc) summed up on two pages. Once you learn something in this book, you will keep using it throughout the book, which is very helpful. I personally have to do things myself, more than once, to pick them up, and this book covers that perfectly, without making one second of this book boring.
If you are looking for a specific PHP and MySQL reference to sit on your desk, and quickly look in the index, find a term, and use it, get another book. As the authors state, this is not a reference book. It is meant to be a learners book, read in sequence.
If you know some HTML and CSS (didn't seem to me like you even had to know very much), are completely new to PHP and programming in general, and want to learn in a way that allows you to retain what knowledge you pick up, BUY THIS BOOK! It is excellent. All the examples do a wonderful job of illustrating what you just went over in that chapter. Both writers are truly gifted, and have an excellent writing style. The layout is perfect. I can't shower enough praise on this book. Brand new beginners to intermediate level programmers will all benefit from this book. Two thumbs way up!
Comment | 
Was this review helpful to you?
28 of 29 people found the following review helpful
Maybe I'm spoiled February 23, 2010
Format:Paperback|Amazon Verified Purchase
PHP is a difficult subject matter. These guys do a pretty good job of helping you understand and get the concept. Good beginner book. However, there are some problems. As stated in some of the other negative reviews, there is a lot of ambiguous text throughout the book where 'solutions' are given but no instruction is given on what to do. Occasionally there are parts where you are told "Now start coding!" with a few things left out. For example: In Chapter 9 you are told to create your first function out of already existing code. However, at some points of the lesson there is no instruction given on how to apply the 'return' statements of that function. Sure, if you're very focused you can figure it out, but when you put full trust into this book, you're constantly asking yourself "Am I supposed to do this? Is this part of the lesson? Will I turn the page and will it say 'Hey the page didn't work right? Here's why!'"

The learning format is a bit disorganized because the book is supposed to be 'rebellious' and 'fun' to read. But the constant placement of 'help comments' all over the page keeps your eyes bouncing on every page.

I've reported a few errors and for all those who do choose to buy this book...FOR THE LOVE OF GOD, ENABLE PHP ERRORS so you can catch theirs! (Not a lot, but hair-pulling errors)

Bottom Line: You WILL learn PHP
Bottom Bottom Line: You will at times STRESS learning PHP because of the book.
Comment | 
Was this review helpful to you?
30 of 34 people found the following review helpful
Format:Paperback
I've been a big fan of the Heads First series for a long time. The format of the Head First books is unique, engaging and effective. One could consider the Head First series to be comic book like. This is one of the series' great virtues. The interactive layout and thoughtful way illustrations are integrated to text in order to explain 'hard to get concepts' really works.

I use the series to learn and teach advanced programming topics. All the exciting things about the Heads First series shines through in PHP & MySQL.

Heads First PHP & MySQL is for beginners. There is little prerequisite knowledge required to get benefit from the book. I have learned from years of teaching and mentoring that beginners learn best when presented with information in a way that is fun and hands on. Heads First PHP & MySQL meets this requirement with no problem.

The book covers the range of topics that is standard for having a good foundation in programming in general and programming in PHP in particular. After finishing this book the reader will be able to create a data driven web site in PHP, leveraging that special relationship between the PHP programming language and the MySQL database. The reader will know why and how PHP and MySQL go hand in hand.

The book throws in some extra tidbits. For example it teaches you how to make a data drive Rss Feed. It's a good example that has real world bearing.

Again, this is a beginners book. I caution 'bosses' that while giving this book to aspiring PHP developers is a good thing to do, you should not think that the book will create production ready coders. Coding in a production environment requires experience that is beyond the scope of this work.

This being said, I look forward to reading an follow up volume to this work titled, Heads First Really Programming in PHP and MySQL in which the topics of object oriented programming in PHP and implementing the basic software design patterns are explained in a way that only a Heads First book could.

Heads First PHP and MySQL is a great beginners book, one that should be on the bookshelf of every up and coming PHP developer.
Was this review helpful to you?
Most Recent Customer Reviews
Head First books are great for really learning...
I have now worked my way completely through the Head First books on jQuery, PHP and MySQL, and half of the one on HTML 5. Read more
Published 4 months ago by Evan Hobbs
Great product
This book is just awesome and i can't wait to start reading it, it's just what i need for expanding my knowledge :)
Published 4 months ago by Azrudin Subasic
Ask Felgall - Book Review
Another excellent book for beginners that uses the "Head First" style of presenting the information in a variety of different ways so as to really reinforce what the book teaches... Read more
Published 5 months ago by Stephen Chapman
This is really very good book
Since I am using PHP as beginner level and I said to myself I have to enhance this level of knowledge, so I was looking for book that would support very much and this book really... Read more
Published 6 months ago by alssarem
Not the right book
There are so many arrows pointing at things its so confusing. Forget about this product, because it does not help
Published 7 months ago by SlakeDog
good idea, poor execution
I like the Head First series overall, much like the Dummies books only better. For the most part, this book is no exception. Read more
Published 8 months ago by jps
Read this to Learn
This book provides a perfect guide to learning and understanding PHP programming, I highly recommend for beginners and intermediates just for a refresher.
Published 8 months ago by IT Guy
Best style of programming books ever!!
I have purchased a few programming books in the past, but nothing like this.
The style that they use to teach you is amazing...it is fun easy and very understandable. Read more
Published 9 months ago by DKeenan08
Great Book
I love this company's philosophy. They explain from the start, repetition is a key and one must do the examples in the book. Read more
Published 9 months ago by hockeyfootie
Learning as it should be!
I received this book a couple of days ago and I immediately noticed its thickness, almost 800 pages...wow...how will I ever get through that with my busy schedule? Read more
Published 11 months ago by K. V. Harris
Search Customer Reviews
Only search this product's reviews

Inside This Book (learn more)
Key Phrases - Statistically Improbable Phrases (SIPs): (learn more)
guitar wars, risky jobs, desired job, syndication web services, bar graph image, alien abduction data, screenshot column, score screenshot, building web apps, mismatch topic, mismatched topics, high score application, elvis store, shot image file, alien abduction information, mismatched categories, headf irstlabs, mysqli fetch array, approved column, mysgli query, mysgli fetch array, mysgli close, php script code, blank echo, alien description
Key Phrases - Capitalized Phrases (CAPs): (learn more)
Head First, Add Score, Remove Score, Send Email, Report Abduction, Kenny Lavitz, Belita Chevy, Ashton Simpson, Nevil Johansson, Paco Jastorius, Add Your High Score, Remove Email, Eddie Vanilli, Edit Profile, Yosemite Park, Add Email, Phiz Lairston, Dumb Questions, Approve Score, Love Long, Tattoos Appearance, Guitar Warrior, Pie Chart, Was Fang, Love Cowboy
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Back Cover | Surprise Me!
Search Inside This Book:


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(21)
(20)
(6)
(4)
(1)

Your tags: Add your first tag
 

Customer Discussions

This product's forum
Discussion Replies Latest Post
Head First: PHP & MYSQL 10 Apr 19, 2009
See all discussions...  
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
   
Related forums


Listmania!




Look for Similar Items by Category


Look for Similar Items by Subject