Head First PHP & MySQL: A Brain-Friendly Guide

Head First PHP & MySQL: A Brain-Friendly Guide

by Lynn Beighley, Michael Morrison
3.7 16

NOOK Book(eBook)

$20.49 $35.99 Save 43% Current price is $20.49, Original price is $35.99. You Save 43%.
View All Available Formats & Editions
Available on Compatible NOOK Devices and the free NOOK Apps.
Want a NOOK ? Explore Now


Head First PHP & MySQL: A Brain-Friendly Guide by Lynn Beighley, Michael Morrison

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.

Product Details

ISBN-13: 9781449331559
Publisher: O'Reilly Media, Incorporated
Publication date: 12/22/2008
Series: Head First
Sold by: Barnes & Noble
Format: NOOK Book
Pages: 814
Sales rank: 783,507
File size: 65 MB
Note: This product may take a few minutes to download.

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.

Customer Reviews

Most Helpful Customer Reviews

See All Customer Reviews

Head First PHP & MySQL (Head First Series) 3.8 out of 5 based on 0 ratings. 16 reviews.
Alupka More than 1 year ago
This may be a great book for students or complete beginners or people who don't know how to read, but if you're a technical minded person or have any previous knowledge of HTML or scripting, this book is too unorganized to be useful. I understand the authors' intent, but this book focuses too much on entertaining the reader with clip art and anecdotes instead of providing clear and substantive coverage of PHP. Every time I try to jump in and find the answer to a specific question, I find myself completely lost in a maze of humorous pop-ups and doodles. I have only been able to extract a few sentences of actual useful information per page. The rest is fluff or filler...or (according to the authors) reinforcing the concept. For myself, the chaotic and visual nature of the book takes much longer to weed through and learn compared to traditional books. If, on the other hand, you're a very visual person struggling with the basic concepts of programming, this book may be worth the purchase price. In fairness to the authors, I already know HTML, asp, etc. and was just looking for a quick sort of *Learn PHP in 24 Hours* type of book to bring me up to speed quickly. So I write this knowing that I may not be the authors' intended audience.
Ron_H More than 1 year ago
Using a sense of humor, incredible depth of knowledge, and a teaching method that virtually ensures absorption of the material no matter what your learning style, Head First PHP & MySQL takes the reader from initial steps to proficiency in this powerful and widely used technology. Build a mail-order website for Elvis Impersonators using PHP Forms. Build a secure application for Rock Wars gamers to track (and verify) highest scores. Submit and review resumes for Risky Jobs. These tongue-in-cheek sample applications provide a playground to learn all of the PHP/MySQL basics in a fun and engaging way. Code downloads, and very useful appendices complete the package. I was able to build solid production applications almost immediately as I stepped through the book. Easily Five Stars, Two Thumbs Up, and a page full of Smiley Faces for this book.
Guest More than 1 year ago
I have been developing websites since the beginning of what we all know as the internet. Up until recently I have paid to have all of the coding done. Nothing that I ever read about Php or Mysql could never stick with me. I would read things and dabble a little bit. But actually retaining any of it was impossible for me.This was up until I purchased this great Head First: Php & Mysql book. Not only is it easy reading, I have retained every bit of it. I am nowhere finished with the book and I think its safe to say that this book will stay on my shelf forever. If anyone asks me how I learned PHP, I will simply point at the book.1 week after I started reading the book I wrote my first script, on my own, without copy and pasting someone else code. It was a simple script, just writing a form and a php script to parse it and store in MySql. Regardless, 1 week and I wrote that. Its with me forever now.If you are thinking of learning php, or if you have struggled to remember things like functions and syntax then you MUST buy this book. I am just your average Joe and this is hands down the best book I have put on my shelf in a very long time. Truth is, that its not even on my shelf and I think I will keep it along side me until I can have it all in head.You will jump in to writing some simple php and you advance pretty fast, but the best part is the way that they present the information. I honestly think my 12 year old son could work his way through this. The book even gives you problems to figure out in writing, or homework if you will. GREAT Job to the authors of this book. If there is more Head First books I will buy them next time
Anonymous More than 1 year ago
This book should be good, but it is quite frustrating. I am nearly half way through and tempted to buy something else to learn more about PHP and MySQL. The explanations are fairly good, but the example code is difficult to read at best. The author gives you partial code, then a bunch of "magnets" to "stick" in the right places. When the "solution" is printed, it has the same "magnets" that make it very difficult to read, and even more difficult to tell what the proper spacing is between characters. The examples also seem to have errors, and the error log page on the O'Reilly site doesn't seem to catch them all. The concept is interesting, but they should have had real people test the code before releasing this to the world.
Anonymous More than 1 year ago
I like how the book gives you real word applications that you can easily copy and manipulate but sometimes they are out of date but its still good for beginners. The book also has alot of story lines and pictures so sometimes it can be a good thing and a bad thing because it gets distracting after a while when you just want to see code and not read a story line or a full on explanation about one small code. The other thing that now gets me when I look back is when you try to review something you already passed its kind of hard to find it on the table of contents because it sometimes doesn't specify what section. When you go back trying to find something by page it is hard because there are alot of pictures and you can't find that small code your looking for. If someone is at least familiar with coding syntax I would recommend a different book because the pictures could get quite distractive.
Anonymous More than 1 year ago
Anonymous More than 1 year ago
Anonymous More than 1 year ago
K2JXW More than 1 year ago
Good text for a know-nothing like me
Anonymous More than 1 year ago
Anonymous More than 1 year ago
Anonymous More than 1 year ago
Anonymous More than 1 year ago
Anonymous More than 1 year ago
Anonymous More than 1 year ago
Anonymous More than 1 year ago