PHP 6 and MySQL 5 for Dynamic Web Sites and over 2 million other books are available for Amazon Kindle . Learn more
Have one to sell?
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See all 2 images

PHP 6 and MySQL 5 for Dynamic Web Sites: Visual QuickPro Guide (Visual QuickPro Guides) Paperback – 2 Apr 2008


See all 2 formats and editions Hide other formats and editions
Amazon Price New from Used from
Kindle Edition
"Please retry"
Paperback
"Please retry"
£10.05 £0.01


Product details

  • Paperback: 648 pages
  • Publisher: Peachpit Press; 1 edition (2 April 2008)
  • Language: English
  • ISBN-10: 032152599X
  • ISBN-13: 978-0321525994
  • Product Dimensions: 18.1 x 3.3 x 22.5 cm
  • Average Customer Review: 4.2 out of 5 stars  See all reviews (59 customer reviews)
  • Amazon Bestsellers Rank: 196,401 in Books (See Top 100 in Books)
  • See Complete Table of Contents

More About the Author

Discover books, learn about writers, and more.

Product Description

From the Back Cover

It hasn't taken Web developers long to discover that when it comes to creating dynamic, database-driven Web sites, MySQL and PHP provide a winning open source combination. Add this book to the mix, and there's no limit to the powerful, interactive Web sites that developers can create. With step-by-step instructions, complete scripts, and expert tips to guide readers, veteran author and database designer Larry Ullman gets right down to business: After grounding readers with separate discussions of first the scripting language (PHP) and then the database program (MySQL), he goes on to cover security, sessions and cookies, and using additional Web tools, with several sections devoted to creating sample applications. This guide is indispensable for intermediate- to advanced level Web designers who want to replace their static sites with something dynamic. In this edition, the bulk of the new material covers the latest versions of both technologies: PHP 6 (due out in 2008) and MySQL 5 (available now). The book's publication date is likely to beat the official release of PHP 6, making it one of the first books available on the subject.

About the Author

Larry Ullman is Lead PHP Programmer and Director of Digital Media Technology at DMC Insights, Inc., a firm specializing in information technology. He is the author of several books on PHP, MySQL, Web development, and other programming languages. In addition to writing, he develops dynamic Web applications, conducts training seminars, and teaches PHP programming for the Web through the University of California at Berkeley Extension Online.

Inside This Book (Learn More)
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index | Back Cover
Search inside this book:

What Other Items Do Customers Buy After Viewing This Item?

Customer Reviews

4.2 out of 5 stars

Most Helpful Customer Reviews

6 of 6 people found the following review helpful By Mr. Jeremy Flowers on 12 Oct 2009
Format: Paperback
I can't say this is an excellent book because of some glaring logic errors in the code.
It's a is good as an introduction to PHP/MySQL and there are some meatier recipes towards the end of the book that are useful - forums/shopping cart/registration.
I bought this book to help with writing custom WordPress Plug-ins and to get into Drupal and for that need it fulfilled that itch I had to scratch.
It was easy to follow and informative if you can overlook the silly mistakes.
I think the good point outweigh the negatives.
Primarily I was irritated by the lack of thought that went into validating form input. Notably checking if field is empty then trimming it. So if a user enters a space, then logic is flawed and null data would be written to the database for it's constraints to pick up.
To me there also seemed to be a lack of precision in defining an email regular expression. For a UK email address, you need to allow for more than one 'dot' after the 'at' symbol.
Also the database design for threaded messages in the forum recipe (chapter 15) didn't seem right for me. It used timestamp to order messages in threads. This sequencing logic/database design is flawed for threaded messages if two people respond to different branches of a thread.
I come from a Java/Spring/Grails background and the lack of structure/seperation of concerns of a framework that implements a MVC architecture struck me the most. I didn't like the fact that variables were defined in one template and used in another for example without even passing parameters around so it's hard to tell at a glance what needs to be setup before a script can run.
I think that can be forgiven as I think this book is targeted for a beginner audience.
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
7 of 7 people found the following review helpful By Facebook Answers on 4 May 2011
Format: Paperback
This book is bad. It is also misleading. PHP 6 doesn't even exist, yet this book has been out for a few years now. However, I could easily forgive that little fib if the rest of the book was actually a decent PHP tutorial. Unfortunately it isn't though. This is because its layout makes it nigh on impossible to follow the examples. The two column format adopted by the book is ridiculous for presenting code samples. I found myself jumping back and forth between pages as I was trying to match the narrative with the sample code.

This is what I mean by impossible to follow. I don't mean the examples themselves were hideously complicated. I mean they were laid out atrociously. Who knows, if you don't want to bother with the source code, then you may get more out of this book than I did. However, I found it a complete waste of time.
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
14 of 15 people found the following review helpful By Chang San Feng on 30 Jan 2011
Format: Paperback Verified Purchase
Although this book is useful. I found the layout of the code very annoying. The page is split into two columns, with the code inline with the text, thus also flowing in the two columns... this makes for reading the code very difficult. Also Im no expert but I found some of the coding techniques very messy, for example his form validation, which can be done much neater than the example in this book. Another gripe, is he uses stupid variable names, which are totally none descriptive, for instance in clearly written code you might write $query he'll abbreviate it to just $q, also where everyone else would write $result he just puts $r, which if youre learning can be very un-helpful when trying to make sense of the example... coupled with poor layout, this book gives me a headache when trying to learn from it.

p234 example:
7. Add user to the database.

require_once
> ('../mysqli_connect.php');

$q = "INSERT INTO users (first_name,
>last_name, email, pass,
>registration_date) VALUES ('$fn',
>'$ln', '$e', SHA1('$p'), NOW() )";

$r = @mysqli_query ($dbc, $q)

YES! the code really is formatted like that!!! Its terrible. That query should be on one line, not spread over four. And try making sense of it as a beginner, when he uses $r and $q. I know what this all means now, now that ive coded many sql queries. But when I was learning, this book was a nightmare.

I use this book in combination with the Luke Welling, Laura Thomson "PHP and MySQL Web Development" book (which is a far deeper book IMHO - and much better laid out) along with examples on the web to get a better understanding of a particular area of PHP/MySQL I need to learn.

The layout for this book needs reviewing for the next issue - use the full width of the page guys!
6 Comments 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 Matthew on 30 July 2012
Format: Paperback Verified Purchase
PHP 6 is not yet out, so unless you want to read a book about something that is not currently in use. It will be pointless. It's not one of the most user friendly books on the market either, there are better alternatives. Disappointing as I like Ulman's other books.
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
1 of 1 people found the following review helpful By BenLeKreme on 6 Nov 2009
Format: Paperback
Overall I was extremely impressed by the whole experience of this book, both from what I learned and the general readability, which is second to none. I'm almost tempted to call it a page turner, which face-it, for any book in this genre is rarer than the by-product of a white rocking horse.

As someone who comes from a front-end design perspective, I've put off dipping my toes into the actual dirty work of back end coding for far too long. Probably because I've had my hand burnt with a few other titles, but now my main regret is that I didn't find this book several years ago.

I like the way things actually logically ramp up from chapter to chapter, and its actually quite exhilarating applying and then building upon each example. Once you have basics nailed down, the wider picture suddenly comes into focus and the sky seems the limit.

Sure it can be frustrating when the author chooses to focus on area when your natural curiosities are leading you in another direction, but having reread the whole book (my ability to muster the effort to is indeed a compliment in itself), I understand why it's organised in this way and functions so well as a learning tool.

The book does contain one or two mistakes, however nothing which can be considered fundamental floors in any of the code. If you you can't work out that a line of code requires a single extra parentheses (bracket) with PHP's own excellent error reporting and the extensive section of the book dedicated to debugging, with the greatest of respect, you probably need to go back and actually take in the basics. Most of my own (minor) problems with the code came from my own slack hand coding ability, which I can only describe as Dreamweaver-syndrome!
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

Most Recent Customer Reviews



Feedback