Buy
$16.86 with 64 percent savings $16.86
Learn more
These promotions will be applied to this item:
Some promotions may be combined; others are not eligible to be combined with other offers. For details, please see the Terms & Conditions associated with these promotions.
- Highlight, take notes, and search in the book
Rent
$8.16 $8.16
Today through selected date:
Rental price is determined by end date.
- Highlight, take notes, and search in the book
Your Memberships & Subscriptions

Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Follow the authors
OK
Head First PHP & MySQL: A Brain-Friendly Guide 1st Edition, Kindle Edition
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
- ISBN-109781449328504
- ISBN-13978-1449328504
- Edition1st
- PublisherO'Reilly Media
- Publication dateDecember 22, 2008
- LanguageEnglish
- File size68.2 MB
Kindle E-Readers
- Kindle
- Kindle Paperwhite
- All New Kindle E-reader
- Kindle Oasis (9th Generation)
- Kindle Paperwhite (12th Generation)
- All new Kindle paperwhite
- Kindle Paperwhite (11th Generation)
- Kindle (11th Generation, 2024 Release)
- Kindle Voyage
- Kindle Oasis
- Kindle Scribe (1st Generation)
- Kindle Touch
- Kindle Paperwhite (10th Generation)
- Kindle Paperwhite (5th Generation)
- All New Kindle E-reader (11th Generation)
- Kindle (10th Generation)
- Kindle Oasis (10th Generation)
- Kindle Scribe, 1st generation (2024 release)
Fire Tablets
Shop this series
See full series- Kindle Price:$79.90By placing your order, you're purchasing a license to the content and you agree to the Kindle Store Terms of Use.
- Kindle Price:$121.01By placing your order, you're purchasing a license to the content and you agree to the Kindle Store Terms of Use.
- Kindle Price:$291.31By placing your order, you're purchasing a license to the content and you agree to the Kindle Store Terms of Use.
- Kindle Price:$1,192.34By placing your order, you're purchasing a license to the content and you agree to the Kindle Store Terms of Use.
Shop this series
This option includes 3 books.
This option includes 5 books.
This option includes 10 books.
This option includes 37 books.
Customers also bought or read
- Head First Physics: A Learner's Companion to Mechanics and Practical PhysicsKindle Edition$17.09$17.09
- Head First EJB: Passing the Sun Certified Business Component Developer ExamKindle Edition$35.99$35.99
- Head First Object-Oriented Analysis and Design: A Brain Friendly Guide to OOA&DKindle Edition$29.92$29.92
- Head First PMP: A Brain-Friendly Guide to Passing the Project Management Professional ExamPaperback$24.96$24.96Delivery Thursday
- Head First WordPress: A Brain-Friendly Guide to Creating Your Own Custom WordPress BlogKindle Edition$14.99$14.99
- Head First Programming: A learner's guide to programming using the Python languageKindle Edition$20.89$20.89
- Head First Servlets and JSP: Passing the Sun Certified Web Component Developer ExamKindle Edition$20.03$20.03
- Head First HTML and CSS: A Learner's Guide to Creating Standards-Based Web PagesKindle Edition$30.30$30.30
- Head First Software Development: A Learner's Companion to Software DevelopmentKindle Edition$22.30$22.30
- Head First Web Design: A Learner's Companion to Accessible, Usable, Engaging WebsitesKindle Edition$39.99$39.99
- Head First Data Analysis: A learner's guide to big numbers, statistics, and good decisionsKindle Edition$29.92$29.92
- Head First iPhone and iPad Development: A Learner's Guide to Creating Objective-C Applications for the iPhone and iPadPaperback$27.34$27.34FREE delivery Tue, May 6
Customers who read this book also read
Editorial Reviews
About the Author
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
- ASIN : B00CB30Y2S
- Publisher : O'Reilly Media; 1st edition (December 22, 2008)
- Publication date : December 22, 2008
- Language : English
- File size : 68.2 MB
- Simultaneous device usage : Unlimited
- Text-to-Speech : Enabled
- Screen Reader : Supported
- Enhanced typesetting : Enabled
- X-Ray : Not Enabled
- Word Wise : Not Enabled
- Print length : 1156 pages
- Best Sellers Rank: #3,187,474 in Kindle Store (See Top 100 in Kindle Store)
- #163 in PHP Computer Programming
- #331 in PHP Programming
- #401 in SQL Databases
- Customer Reviews:
About the authors
Michael Morrison is a writer, developer, toy inventor, and author of a variety of software technology books and interactive web-based courses. In addition to his primary profession as a writer and freelance software developer, Michael is the founder and creative lead of Stalefish Labs, an interactive entertainment company. Stalefish Labs has produced the board game Inc. The Game of Business, the social/trivia card game Tall Tales: The Game of Legends and Creative One-Upmanship, and numerous mobile apps. Most recently, the mobile app Muster (http://www.muster.io) makes it considerably easier to plan social gatherings.
Lynn Beighley is a fiction writer stuck in a technical book writer's body.
She spends most of her time writing tech books, or writing novels, or traveling.
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonCustomers say
Customers find this PHP & MySQL book to be a great learning resource, particularly as a self-paced tool for beginners, and appreciate how it helps understand basic concepts. The book receives positive feedback for its style and physical condition, and customers find it engaging and fun to read. However, customers disagree on how easy it is to follow the learning structure, and some report code errors in the examples. Additionally, the content quality receives mixed reviews, with one customer noting it's far out of date with current PHP.
AI-generated from the text of customer reviews
Customers find this book to be a great learning resource, particularly suitable for beginners and as a self-paced tool, with one customer noting its effectiveness in teaching PHP and MySQL basics.
"...Head First successfully attempts to deliver an extremely educational book while being fun and modernistic...." Read more
"This book can teach you dynamic web development using PHP and MySQL quickly...." Read more
"...Great reading: you just have to know how to skim through lower-level material and spot your target. Great book!" Read more
"...In all this was a helpful book. There are some errors in the book's code as well as the downloadable code online. Mostly with sticky forms...." Read more
Customers find the book engaging and interesting, with one mentioning it keeps them on their toes.
"...attempts to deliver an extremely educational book while being fun and modernistic...." Read more
"...But, that's the only problem. The book keeps you on your toes and noticed as you went along in the book they left stuff out of the instructions..." Read more
"...Still, the book was entertaining and kept me interested and coding in my first experience with the language...." Read more
"...The Head First series by O'Reilly is fantastic. It makes the content interesting and presents it in way that is simple, but not dumbed down...." Read more
Customers appreciate how the book helps them understand PHP and MySQL basics, with one customer noting it provides a good starting point for developing web-based applications.
"...It mixes PHP and SQL together teaching you the basics of what you need...." Read more
"While this pretty much goes over the basics of PHP and MySQL, a subject that I had broached more than 8 years ago, the shine on -this- particular..." Read more
"...The good news is that PHPMyAdmin has vastly improved, so you don't need to type in that code anymore -- but it makes you worry what other things wo..." Read more
"This book help me understand the basic of PHP and MySQL...." Read more
Customers appreciate the book's style, with one noting its modernistic approach and another describing it as a nice visual helpful guide.
"...to deliver an extremely educational book while being fun and modernistic...." Read more
"...Headcase PHP and MYsql is a nice visual helpful book. However it is more of another PC book with examples for a PC computer...." Read more
"Whimsical, informative, humorous...." Read more
"...right now and it's more in line with how I learn: organized, linear, neat, tidy. Head First is good, don't get me wrong...." Read more
Customers are satisfied with the book's sturdiness, noting it arrives in very good condition, with one customer mentioning its solid principles.
"...really corny, but once you get past that you can learn some pretty solid principles and easy exorcises that you can apply to a lot of web..." Read more
"This book was exactly what I ordered, excellent condition, and great delivery time!..." Read more
"Book was in very good condition.. Perfect as far as I was concerned...." Read more
"I love this book great for PHP and in great condition" Read more
Customers have mixed opinions about the book's clarity, with some finding the topics easy to understand and appreciating it as a friendly introduction to programming concepts using PHP, while others report difficulty following the learning structure.
"...For me, the most impressive thing about this book is it's attention to detail - on more than one occasion I've wondered why something was done in a..." Read more
"...For beginners I can't stress this enough how easy this book is and how well it explains everything...." Read more
"There are only a few things that are important and the popped out in this book right away: How to post a form with data and how to take the posted..." Read more
"...I gave this book four stars because there were problems with setting up the environment which could of been avoided if they gave more attention to..." Read more
Customers report multiple instances of code errors in the book.
"...In all this was a helpful book. There are some errors in the book's code as well as the downloadable code online. Mostly with sticky forms...." Read more
"...to the level of a beginner (which I wanted), but it has too many errors in the details for a beginner to actually follow along...." Read more
"...I found that the code for the examples had errors and I needed to use the accompanying web site to resolve the errors and get it working...." Read more
"...book (or its companion repository) doesn't work as expected and returns errors." Read more
Customers find the book's content outdated, with one customer noting it was published in 2008.
"...to programming concepts using PHP, however, the content seems to be outdated as some examples outright don't work...." Read more
"...I like other Head First books, but this one is too outdated (2008) to recommend...." Read more
"Although I generally like Head First books, this one is so far out of date with current PHP that I can't recommend it...." Read more
Top reviews from the United States
There was a problem filtering reviews. Please reload the page.
- Reviewed in the United States on March 25, 2013I've purchased around 6 or 7 books on PHP (for beginners) and each book has a common pattern where i get to a certain point and nothing else makes sense. I put down that book and pick up the next and re-learn what a variable is and learn about associative arrays, then they jump into checking if GET variables are set, but i don't even know what they are yet??
Head First PHP & MySQL pulls you into the pool fully dressed and forces you to get typing in a way that no other book even comes close to. It's easy to sit back and write a bad review that there's mistakes, parts that are difficult to learn etc - but if you review this book relative to what is out there - the others just can't compete. Head First successfully attempts to deliver an extremely educational book while being fun and modernistic. It is made up of several long, hands-on php/ mysql tutorials that do a great job of showing you how to apply top to bottom php coding. For me, the most impressive thing about this book is it's attention to detail - on more than one occasion I've wondered why something was done in a certain way and I turn the page to find that the detail has been answered! This is what I think helps the book to distinguish itself as the best 'how-to PHP' guide on the market.
I strongly recommend this if you would like to learn PHP, however I would also strongly suggest that you buy yourself a beginner's PHP book to accompany it, that isn't tutorial based, such as PHP for Absolute Beginners (Expert's Voice in Open Source).
I'm mid-way through Head First PHP and stopped doing the tutorials just so i could write this review. In fact i found a free version of this book somewhere online and liked it so much that i went ahead and bought it on amazon because i felt the value I received was well worth the money.. plus it's like having a little PHP bible next to me:) Strongly recommended:)
- Reviewed in the United States on October 8, 2010I'm a Web Design student, and I got this book for a database class I had to take a little while back. Unfortunately my instructors style of teaching didn't fit my style of learning (in other words I don't learn PHP from a 60 page powerpoint slideshow...). So a friend recommended me this book so that I can just teach it to myself. I gotta say I am very happy with it. For beginners I can't stress this enough how easy this book is and how well it explains everything. I mean the "humor" that the book tries to push is really corny, but once you get past that you can learn some pretty solid principles and easy exorcises that you can apply to a lot of web applications. It mixes PHP and SQL together teaching you the basics of what you need.
Now this book is not a standard textbook that covers every single component of PHP and SQL but more of learning through some basic exorcises. I personally don't like the soulless and dry text book style books that just present everything in the most boring way. This book tries to mix it up and be a little less serious which in my opinion makes it easier to take in. If you are looking to learn basic PHP/SQL applications then I would highly recommend this book. The more advanced programmer may not find it as helpful however.
- Reviewed in the United States on September 14, 2009This book can teach you dynamic web development using PHP and MySQL quickly. I bought this book because I needed to learn PHP quickly for a site I planned to build. I was able to write scripts quickly using this book. I gave this book four stars because there were problems with setting up the environment which could of been avoided if they gave more attention to the setup. For beginners that never setup a local test environment, this will be very frustrating. But, that's the only problem. The book keeps you on your toes and noticed as you went along in the book they left stuff out of the instructions because at that point in the book you should know what to do. So you get weened off the hand holding for simple tasks such as creating a database. So, this is a great learning book. Don't get scared off by the setup. I found if you google WAMP and download the WAMP server, it will set the environment up for you. They should mention that in the book. If you're purpose is to learn PHP and MySQL, this book is the one to get.
- Reviewed in the United States on December 10, 2023There are only a few things that are important and the popped out in this book right away: How to post a form with data and how to take the posted elements to the database. The book totally covered the necessities with a comical data-entry form.
Great reading: you just have to know how to skim through lower-level material and spot your target. Great book!
Top reviews from other countries
-
Christian SchachtReviewed in Germany on April 28, 2014
4.0 out of 5 stars Gutes Buch für den Einstieg aber Bilder auf dem Kindle sind nicht optimal
Ich habe jahrelange Erfahrung in der Softwareentwicklung speziell mit Java und möchte durch dieses Buch in die PHP Entwicklung einsteigen.
Die offene Struktur und die Einbindung vom Leser gefällt mir außerordentlich an den Head First Buchern.
Durch praktische Beispiele die Teilweise aufeinander aufbauen (jedoch nicht erforderlich erweise gelesen werden müssen) werden verschiedene Eigenschaften von PHP erklärt. Wenn man allerdings schon Erfahrung in der Softwareentwicklung hat fallen einige Problem schon vorab auf, die im späterem Verlauf des Buches dann zur Verbesserung der Beispiele bzw. Erklärung von anderen Eigenschaften von PHP genutzt werden.
Mir hat das Buch als Einstieg sehr geholfen es kann aber auf keinen Fall mit dem Detailgrad des PHP Manuals mithalten - Erklärt aber vieles einfacher und weniger steif.
Das Buch besteht aus sehr vielen Bildern bzw. Skizzen und Diagrammen, die auf dem Kindle schwer zu lesen sind. Die Zoofunktion war da hilfreich obwohl einige Bilder mit Text trotzdem schwer zu lesen sind.
- CarloReviewed in Italy on March 30, 2017
5.0 out of 5 stars Very good book about php, learning by doing
Very good book, i love it! Absolutely never boring because u learn by doing real projects more and more complicated. Very good!👍
- Andrew KReviewed in the United Kingdom on May 7, 2011
5.0 out of 5 stars The best PHP book for beginners!
Excellent for beginners. However it is not good for reference as it explains everything in terms of projects so if you want to loook up particular functions, chances are you will not be successful. You lear about arrays,, variables, sessions, cookies and so on, by doing excercises. There are brief explanations of these at the beginning but the methord the book uses is to teach you as you do.
This is the first book that enabled me to have a PHP scrpt that connects to a MySQL Database. I first used code from the book, then modified it to do other things and finally I could write my own code. For a beginner, I can't think of a better book than this one. You will be able to see the application growing. It has a large community of aspring programmers or O'reilly, so you can askl questions on the forums if you are stack.
It's a hilarious way of learning. You start with a problem then you solve it in stages and even the code is arranged that way. Along the way problems are introduced and solved. You get involved by typing code so you learn by doing. In this way you build up your knowledge adding concepts as you ascend. I can now create XML Feeds, after doing an excercise from this book.
After you know how to program, you will hate the book, and that may be the right time to pass it to your young sister or the local council library.
Conclusion: The best PHP book for beginners! It just can't be beat in that category, at least according to me!
- HarryReviewed in India on February 10, 2014
5.0 out of 5 stars Love It , Just Awesome ! Great ! Thank You !
I Read some head first books lately from pdf downloads and i felt it okkk to buy a paperback this time . And Honestly not only i am just satisfied , but feels like just the great publisher to write such books . Must say so easy language , just being sure of being taking these type of books for learning/starter purpose only and not as kind of a reference books !
And Yeah i am a Programmer too and have a little experience also and i am NOT A Beginner ! . Its not true that its only for beginner , so much fun !
Love It
- castro odhiamboReviewed in Canada on June 24, 2022
5.0 out of 5 stars I received what i ordered
Delivery was on time and the condition of the book is excellent.