Deliver to your Kindle or other device


Try it free

Sample the beginning of this book for free

Deliver to your Kindle or other device

Anybody can read Kindle bookseven without a Kindle devicewith the FREE Kindle app for smartphones, tablets, and computers.
PHP and MySQL by Example
See larger image

PHP and MySQL by Example [Kindle Edition]

Ellie Quigley , Marko Gargenta

Digital List Price: CDN$ 43.99 What's this?
Print List Price: CDN$ 57.99
Kindle Price: CDN$ 28.55 includes free international wireless delivery via Amazon Whispernet
You Save: CDN$ 29.44 (51%)


Amazon Price New from Used from
Kindle Edition CDN $28.55  
Paperback CDN $36.36  

Customers Who Bought This Item Also Bought

Product Description

Product Description

Quickly master dynamic, database-driven Web development–no experience necessary!

Even if you’re completely new to PHP, MySQL, and Web database development, this book will guide you through every step of building powerful, database-driven, dynamic Web sites. Direct from the world’s top scripting instructor, Ellie Quigley, PHP and MySQL by Example illuminates every concept with tested code examples, screen shots showing program output, and clear, line-by-line explanations.

Classroom-tested in Ellie Quigley’s Silicon Valley training courses and at Marko Gargenta’s Marakana training company in San Francisco, this book takes you from the simplest PHP scripting and SQL querying techniques all the way to dynamic, database driven Web site construction with PHP and MySQL. From simple fill-in forms to program security and debugging, it’s the only PHP/MySQL book you’ll ever need!

This book covers

  • Complete PHP fundamentals, including operators, strings, conditionals, loops, arrays, functions, and more
  • PHP QuickStart for more advanced readers–makes you productive with PHP in the space of just fifteen book pages
  • Essential Web development techniques, from file handling to validating user input with regular expressions
  • Powerful PHP features, including user-defined functions and self-processing PHP Forms
  • Day-to-day MySQL administration
  • A complete SQL tutorial for creating queries, retrieving data, and writing data with MySQL
  • Session management and cookies
  • Object Oriented PHP
  • Best practices for using PHP and MySQL together

Nearly 100,000 professionals and power users have relied on Ellie Quigley’s books to master scripting languages. With PHP and MySQL by Example, you can, too. And once you’ve become an expert, you’ll turn to this book constantly as your go-to source for reliable answers, solutions, and code.


Lab Solutions

Solutions to the end-of-chapter labs are available at

About the Author

Ellie Quigley has taught scripting languages in Silicon Valley for more than twenty years. Her Perl and shell programming classes at the University of Santa Cruz Extension program have become part of Silicon Valley lore. Her best-selling books include UNIX ® Shells by Example, Fourth Edition; Perl by Example, Third Edition; and Javascript by Example, all from Prentice Hall.

Marko Gargenta has worked as an e-commerce consultant and instructor since 1996. He has created the Marakana Ecommerce Seminar Series, consulted with Sun Microsystems Educational Services, and designed and delivered PHP and MySQL courses for OpNet Community Ventures and AcademyX. For more on Marko’s training company go to

Product Details

  • Format: Kindle Edition
  • File Size: 28617 KB
  • Print Length: 912 pages
  • Simultaneous Device Usage: Up to 5 simultaneous devices, per publisher limits
  • Publisher: Prentice Hall; 1 edition (Nov. 22 2006)
  • Sold by: Amazon Digital Services, Inc.
  • Language: English
  • ASIN: B0026IUOI2
  • Text-to-Speech: Enabled
  • X-Ray:
  •  Would you like to give feedback on images?

Customer Reviews

There are no customer reviews yet on
5 star
4 star
3 star
2 star
1 star
Most Helpful Customer Reviews on (beta) 2.3 out of 5 stars  15 reviews
12 of 12 people found the following review helpful
1.0 out of 5 stars The worst - almost unreadable Sept. 4 2009
By Lux Aeterne - Published on
I often see 1 star reviews for textbooks I have used and think that the reviewers must be too picky, or they are outright wrong. Oftentimes the 1 star reviews for programming books come from those who the learning style doesn't appeal to, and often to either well-experienced programmers or total beginners. This was not the case with this book. It was a required book for my class and, two weeks into the semester, I am basically chucking it and hoping for the best buying another and matching it to the syllabus. There is the fact that it is somewhat outdated, but this is a minor fact. There is the greater problem that concepts are brought up with no explanation and no reference to how they relate to what the book is handling at the time, but even this I could grudgingly deal with. What is completely atrocious about this book is the number of errors. I'm not talking minor typos, either. This book screws up syntax in the code constantly. It is so bad, and so frequent, that any example the book makes has to be evaluated line by line, because it seems that it screws up almost as often as it gets it right. I'm not kidding. I would bet (uneducated guess, because I give up with it) that a good 25% of the examples used would not even run due to errors. I've never ripped a textbook this bad before and hopefully never will have to again, but this book is, to me, ABSOLUTELY worthless as a teaching tool.
9 of 9 people found the following review helpful
1.0 out of 5 stars Too many errors! May 7 2008
By B. Clark - Published on
The book and cd code are error prone. The co-author writes a five star review trying to come off as an instructor in a php boot camp. Come on!! This book should not even have been published in this state.
5 of 5 people found the following review helpful
2.0 out of 5 stars OK but riddled with errors April 9 2009
By Bob Lipscomb - Published on
Format:Paperback|Verified Purchase
I purchased this as the required textbook for a class on PHP / My SQL. I have suggested to the instructor that he find a different book for future classes.

Some people may like the "By Example" format, but I don't. It tends to limit your ability to write code to what you've seen examples of. In many cases, the book doesn't delve into the nuts and bolts of different commands and functions for you to do much but blindly copy the authors' examples. And THAT'S when the problems start.

As many other reviewers have noted, the book is riddled with typos and errors. For a new student, especially one without a deep programming background, these could be extremely frustrating. Is my code wrong? Or did I copy one of the authors' mistakes? I have done a fair amount of programming so I was able to catch a lot of the mistakes while reading.

This does not include the many simple spelling errors that should have been caught by a spell-checker.

The worst chapter of the book by far was Chapter 6 on String Functions. An alarming number of the "Format" sections (where the authors BRIEFLY explain the function and its arguments) and the code examples had some type of error(s) in them. My personal favorite is the "str_ireplace()" function. In the section header, it is spelled "stri_replace()". In the text of the section it is spelled "stri_replace()" and "str_ireplace()" in different places. Finally, to hedge their bets, the function is listed in the Index as "stri_ireplace()"! This is just one of MANY MANY examples.

Also, the book is printed all in grayscale. The lack of color inhibits readability.

The back cover of the book says that the book "illuminates every concept with tested code examples...". After reading (most) of the book, there is no way this is a completely accurate statement.

A final complaint is the writing style. The authors sometimes repeat the same, or similar text, a maddening number of times as you are reading through a topic. They really would have benefited from a more critical editor.

In summary, I don't like the format or the visual appearance of the book, I'm not wild about the "By Example" concept, and the book has too many errors to be taken seriously.
5 of 5 people found the following review helpful
2.0 out of 5 stars This book was not reviewed before printing Jan. 28 2008
By TL in Montana - Published on
This book contains many, many, many errors. The book itself gives the URL for the publisher's website, claiming the errata is posted there. It isn't. Shame on the reviewers and on the editor for allowing this to go to print with so many mistakes.

On a positive note, finding and correcting the errors has helped me learn the material more thoroughly, and I'm finding there are some other great books out there on PHP and MySQL.
4 of 4 people found the following review helpful
1.0 out of 5 stars File under "comedy" Aug. 27 2008
By HugeStakkaBoFan - Published on
Here's everything you'll ever need to know about the only PHP book you'll ever need:

1. This isn't it.

2. Zend has outsourced all of their online training nonsense to one of this book's authors, so if you have any doubt as to whether or not his bountiful errors and omissions were worth paying $40 for, take care not to make the mistake of paying $1,000+ for more of the same.

3. All the 5 star reviews are fake.

Look for similar items by category