Programming Books C Java PHP Python Learn more Browse Programming Books
PHP and MySQL by Example and over one million other books are available for Amazon Kindle. Learn more
Qty:1
  • List Price: $54.99
  • Save: $19.52 (35%)
Only 19 left in stock (more on the way).
Ships from and sold by Amazon.com.
Gift-wrap available.
Add to Cart
FREE Shipping on orders over $35.
Condition: Used: Good
Comment: This book has already been loved by someone else. It MIGHT have some wear and tear on the edges, have some markings in it, or be an ex-library book. Over-all it is still a good book at a great price! (if it is supposed to contain a CD or access code, that may be missing)
Access codes and supplements are not guaranteed with used items.
Add to Cart
Have one to sell? Sell on Amazon
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See this image

PHP and MySQL by Example Paperback – December 2, 2006

ISBN-13: 978-0131875081 ISBN-10: 0131875086 Edition: 1st

Buy New
Price: $35.47
22 New from $27.97 30 Used from $1.77
Amazon Price New from Used from
Kindle
"Please retry"
Paperback
"Please retry"
$35.47
$27.97 $1.77

Free%20Two-Day%20Shipping%20for%20College%20Students%20with%20Amazon%20Student



Frequently Bought Together

PHP and MySQL by Example + Sams Teach Yourself PHP and MySQL: Video Learning Starter Kit + Flash Professional CS6: Visual QuickStart Guide
Price for all three: $109.42

Buy the selected items together

Customers Who Bought This Item Also Bought

NO_CONTENT_IN_FEATURE

Save up to 90% on Textbooks
Rent textbooks, buy textbooks, or get up to 80% back when you sell us your books. Shop Now

Product Details

  • Paperback: 912 pages
  • Publisher: Prentice Hall; 1 edition (December 2, 2006)
  • Language: English
  • ISBN-10: 0131875086
  • ISBN-13: 978-0131875081
  • Product Dimensions: 9.2 x 7.1 x 1.1 inches
  • Shipping Weight: 2.8 pounds (View shipping rates and policies)
  • Average Customer Review: 2.3 out of 5 stars  See all reviews (15 customer reviews)
  • Amazon Best Sellers Rank: #203,017 in Books (See Top 100 in Books)

Editorial Reviews

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 http://marakana.com.

Excerpt. © Reprinted by permission. All rights reserved.

Over the past few years, students taking my Perl/CGI course continued to ask me when I would be graduating from CGI to PHP, and whether I would offer a course or write a PHP “by Example” book. I didn’t really take the idea of a book seriously until attending a PHP/MySQL class here in San Francisco a few years ago, where I met Marko Gargenta, who was the teacher of that class and the inspiration for this book. We had lunch together and I mentioned to him that the girl sitting next to me in the class was a Web designer, with little programming experience. She was concerned that she couldn’t keep up with the class and wondered if I knew where she could find a book that explained PHP for designers, not just programmers. Marko had heard similar concerns from his students. We talked about how to address this issue, and from that conversation, the seeds were sown for PHP and MySQL by Example.

Although, theoretically, the Web designer/developer should need no PHP programming experience to change the content of a page, and the programmer should be concerned only with the logic, such as calculations, sending data to a database, and so on, they do not always work in isolation. For example, suppose a page is designed so that when the user enters bank information in an HTML form, a PHP program, after doing some calculations, finds that there are insufficient funds, and sends back an error in a bold red font. In such a case, PHP and HTML are integrated—one to calculate and produce the error message, the other to display it in a bold red font. Keeping the design and program logic separated may be the goal, but it is often impossible with the complexities of today’s Web development.

And then there is the issue of the database management system. Where does the processed data get stored? Who designs the database and its tables? Who administers it? How does the information get from the Web page, to the PHP program, and then to the database? Enter MySQL. Is this yet another world in isolation?

Since my first meeting with Marko, I was challenged to bring these technologies together. When Prentice Hall agreed to publish our book, the learning curve was steep, and after the initial draft was done, I began teaching “An Introduction to PHP and MySQL Programming” from the PDF version of that first draft. I noticed that more Web designers were signing up than programmers, and they came in with trepidation that it would be way over their heads. But with the real-world examples and labs we provided, they started to enjoy feelings of success on the first morning. It was wonderful to witness both designers and programmers sharing their experiences without the artificial boundary that has kept them isolated from each other in the workplace.

The mission of PHP and MySQL by Example is to create a gentle yet thorough introduction to the shared power of PHP and MySQL, to make static HTML pages dynamic. The labs and exercises have been tested by myself, Marko, and our students. I think you will find this “by Example” book a helpful and complete guide, no matter what side of the Web site you support, or even if you are just starting your own.

Acknowledgments

Many people helped with the creation of this book. I’d like to thank Mark L. Taub, my longtime editor at Prentice Hall; Vanessa Moore, the most gifted compositor on the planet; and Julie Nahil, a great production editor. Matthew Leingang, Sander van Zoest, David Mercer, and Jason Wertz provided extremely helpful manuscript reviews. Any remaining mistakes are my own.

I’d also like to thank the students in my classes who provided valuable input for the labs. These include Rita McCue, Sanjay Shahri, Ryan Belcher, Debra Anderson, and Catherine Nguyen.

The fantastic illustrations in the book were created by Elizabeth Staechelin and Daniel Staechelin. And many thanks to the artists who provided artwork for the art gallery example. They are Elliott Easterling, Laura Blair, Stuart Sheldon, and Todd Brown.

Errata and solutions to the labs can be found on the book’s Web site at www.prenhallprofessional.com/title/0131875086. The Northwind database script, used in the chapters, can be found at http://marakana.com/download/sql/northwind.sql.

Ellie Quigley
San Francisco, California
September 2006

More About the Author

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

Customer Reviews

2.3 out of 5 stars
5 star
3
4 star
0
3 star
1
2 star
5
1 star
6
See all 15 customer reviews
The book and cd code are error prone.
B. Clark
Imagine buying a book that teaches you how to count in another language, you would expect to see the numbers progress from 1,2,3 and so on.
Jeremy S.
This book is ridiculous, and I would not recommend it to anyone wanting to learn PHP.
Joule

Most Helpful Customer Reviews

11 of 11 people found the following review helpful By Lux Aeterne on September 4, 2009
Format: Paperback
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.
1 Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
8 of 8 people found the following review helpful By B. Clark on May 7, 2008
Format: Paperback
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.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
5 of 5 people found the following review helpful By Bob Lipscomb on April 9, 2009
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...".
Read more ›
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
5 of 5 people found the following review helpful By TL in Montana on January 28, 2008
Format: Paperback
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.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
4 of 4 people found the following review helpful By Jeremy S. on September 2, 2012
Format: Paperback
Imagine buying a book that teaches you how to count in another language, you would expect to see the numbers progress from 1,2,3 and so on. Since this counting book is in another language you wouldn't know that the book is actually teaching you to count 1,3, ,5 and so on. That would be irritating right?! (This book really does mess with you)

This PHP and mysql by example is full of errors, when writing a computer program the difference between a capital letter and a lower case letter can be crucial, the placement of a comma means the difference between success or failure.

This book is loaded with typos and missing code. in the example code. So when you copy the example code verbatim and expect it to work, you are greeted with errors.

I would expect the 5 star ratings are fake, no teacher would approve of this book.

If you know some HTML here are a few SIMPLE examples of the errors.

<html> </html

<string> </strong>

</form>
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
3 of 3 people found the following review helpful By HugeStakkaBoFan VINE VOICE on August 27, 2008
Format: Paperback
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.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
Search

What Other Items Do Customers Buy After Viewing This Item?