Jump to ratings and reviews
Rate this book

PHP and MySQL Web Development

Rate this book
WELCOME TO PHP AND MYSQL WEB DEVELOPMENT.Within its pages, you will find
distilled knowledge from our experiences using PHP and MySQL, two of the hottest
web development tools around.
In this introduction, we cover
n Why you should read this book
n What you will be able to achieve using this book
n What PHP and MySQL are and why they’re great
n What’s changed in the latest versions of PHP and MySQL
n How this book is organized
Let’s get started.
Why You Should Read This Book
This book will teach you how to create interactive websites from the simplest order
form through to complex, secure e-commerce sites or interactive Web 2.0 sites.What’s
more, you’ll learn how to do it using open source technologies.
This book is aimed at readers who already know at least the basics of HTML and
have done some programming in a modern programming language before but have not
necessarily programmed for the Internet or used a relational database. If you are a beginning
programmer, you should still find this book useful, but digesting it might take a little
longer.We’ve tried not to leave out any basic concepts, but we do cover them at
speed.The typical readers of this book want to master PHP and MySQL for the purpose
of building a large or commercial website.You might already be working in another web
development language; if so, this book should get you up to speed quickly.
We wrote the first edition of this book because we were tired of finding PHP books
that were basically function references.These books are useful, but they don’t help when
your boss or client has said,“Go build me a shopping cart.” In this book, we have done
our best to make every example useful.You can use many of the code samples directly in
your website, and you can use many others with only minor modifications.
What You Will Learn from This Book
Reading this book will enable you to build real-world, dynamic websites. If you’ve built
websites using plain HTML, you realize the limitations of this approach. Static content
from a pure HTML website is just that—static. It stays the same unless you physically
update it.Your users can’t interact with the site in any meaningful fashion.
Using a language such as PHP and a database such as MySQL allows you to make
your sites to have them be customizable and contain real-time information.
We have deliberately focused this book on real-world applications, even in the introductory
chapters.We begin by looking at a simple online ordering system and work our
way through the various parts of PHP and MySQL.
We then discuss aspects of electronic commerce and security as they relate to building
a real-world website and show you how to implement these aspects in PHP and MySQL.
In the final part of this book, we describe how to approach real-world projects and
take you through the design, planning, and building of the following
n User authentication and personalization
n Shopping carts
n Web-based email
n Mailing list managers
n Web forums
n PDF document generation
n Web services with XML and SOAP
n Web 2.0 application with Ajax
You should be able to use any of these projects as is, or you can modify them to suit
your needs.We chose them because we believe they represent some the most common
web-based applications built by programmers. If your needs are different, this book
should help you along the way to achieving your goals.

Kindle Edition

First published February 12, 2003

133 people are currently reading
1158 people want to read

About the author

Luke Welling

28 books6 followers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
339 (34%)
4 stars
347 (35%)
3 stars
218 (22%)
2 stars
45 (4%)
1 star
22 (2%)
Displaying 1 - 30 of 55 reviews
Profile Image for imane.
497 reviews420 followers
August 22, 2017
لم اقم باكمال الكتاب قرات فقط جزء
php mysql
جزء الحماية ساتركه لوقت اخر
الكتاب بالنسبة لشخص مبتدئ ممتاز والامثلة بسيطة
Profile Image for Nawal Al-Qussyer.
167 reviews2,520 followers
October 6, 2010
هذا كتاب ممتار جدا.. أنصح فيه أي أحد حابب يتعلم البي اتش بي.
مليان أمثلة ممتازة ومفيدة جدا. أنصح بهالكتاب للي عنده خلفية كويسة عن البرمجة لكنه حاب يتعلم البي اتش بي بشكل خاص..
فادني بشكل كبير.. وأسلوب الكتاب ممتاز جدا ومرتب وسهل.
قرأته في فبراير الماضي.. لكن فيه يمكن ٢ ابترز ما قرأتهم لعدم حاجتي لهم.. لكن البقية كمصدر تعليمي أقدر أقول انهم ممتازين جدا وراح تنمي معرفتك بشكل كبير في التعامل مع البي اتش بي والماي اس كيو ال
Profile Image for Kimberly.
797 reviews
May 2, 2011
I used this book for one of my MLIS courses. I'm not sure if it was the book, or the course, but I can say that in combination, it wasn't the PHP introduction that I had been hoping for. To be fair, we only used about 8 of the chapters from this book, so there's a lot I didn't cover. Personally, I had a difficult time applying what was in the book to my course assignments, but again, that could have been the course/instructor's fault, not the book's, (and of course I understand that could have been my fault as well, but I swear, I was working hard and trying to figure it all out, and I did for the most part).
Profile Image for Christian Tjhai.
11 reviews
May 20, 2012
I recommend this book to those of you who just started to learn PHP, but already have a programming background. A Javascript and HTML scripting background should be fine for you to start using this book.

This book helps you a lot to get started real fast with PHP, because this book has much examples.

Updated on 2012:
Now is 2012, and I have been leading many PHP development teams. Unsurprisingly, I made curriculum based on this book to train the PHP development teams. This book is just awesome, I just kept recommending this book to others.
4 reviews
January 3, 2018
Excellent book to learn PHP
I've logged here especially to write a review to this book, because I thought I should do it. And because I think honest, neutral and with a minimum understanding of the subject are important and not always found when needed.
I've took more than three months to read it and test the examples and write a summary of it. And since then I've read other books on web programming, and not a time found any mistakes in what I've learned from this book. Its authors or technical reviewers seems to be very knowledgeable in what they are doing, so they'll give you the best practices ready to be consumed without the need to pass long years experimenting.
Cheers!
Profile Image for Karol.
Author 1 book8 followers
August 29, 2009
A very good book to start learning PHP, learned a lot and I would recommend it to anyone
Profile Image for Ivelin Georgiev.
2 reviews2 followers
January 24, 2010
I started learing php with this book and I can't say bad thing about this book ;)
Profile Image for Teriz De Ocampo.
5 reviews
August 15, 2020
I feel like the authors focused more on keeping their word of including everything that is important, rather than assessing whether the material could actually be absorbed by the readers. A lot of information was just dumped/enumerated just so the book could claim that the topic was mentioned or touched on.
13 reviews
February 14, 2025
Finding the right web developers is crucial for any online project. Whether you need a simple website or a complex web application, working with skilled professionals ensures efficiency and quality. Explore top-rated web development companies at https://it-rating.com/web-developers/ and find the perfect team for your needs!

5 reviews
June 6, 2020
Luke and Laura are very well versed in the subject matter, and it shows. Good set of toy projects to learn PHP with.
1 review
December 12, 2015
I've read this book and found it to be of a good quality(4/5). I had some experience with PHP and MySQL from before I picked up this book. Just as the book says, it doesn't leave out anything important unexplained, but at the same time it gives plenty of information on where and how to receive more information on certain topics. A large part of this book is also dedicated to building projects with potentially large numbers of users, such as online message boards, e-commerce, etc. This section of the book is good at giving a reader a sense of how to generally write dynamic web apps with PHP and MySQL. The bad part: The version of this book that I've been reading on my e-reader has some formatting errors. For example, lists in this book should have a name of an element and below it a description of it. In reality, the names of all of the list elements are displayed first(grouped together) with list element descriptions displayed after them. This is the only reason why I don't give this book a 5 star rating.

Conclusion: PHP and MySQL: Web Development (4th Edition) by Luke Welling is a good book for anyone who wants to learn how to build modern web apps with PHP and MySQL (+ some Ajax at the very end of the book). Recommended.
Profile Image for Elizabeth.
183 reviews28 followers
November 15, 2016
Esta es la segunda (o quizás tercera vez) tratando de aprender PHP con este libro. Y debo decir que la razón por lo que en esta oportunidad pude pasar de la pag 50 sin que sintiera que la cabeza me iba a explotar es debido a que este libro fue (en esta ocasión) mi material de apoyo en un curso de programación que realizo.

Personalmente, considero que en el libro debería de explicar un poco más sobre el funcionamiento de las bases de datos porque siento que se quedaron un poco cortos. Considero que es importate saber MySQL antes que PHP (cosa que no sabía antes de tratar de leer fallidamente este libro en oportunidades anteriores).

El libro me encantó para leerlo y completar lo que veía en clase. Y disfruté el que fuera bastante extenso porque te explica súper bien las cosas.

He de decir que aún no me he terminado de leer los últimos capítulos que son para realizar un ecommerce y cosas así porque eso ya me lo dieron en el curso mientras me iban dando contenido. Pero cuanto tenga un chance lo chequearé.
Profile Image for PET.
15 reviews2 followers
August 18, 2014
This is the book that taught me the basics of PHP and MySQL.
For years all I did was the first 2 chapters which taught me the basics of PHP and the basics of MySQL. This allowed me to actually do some work for money.

I remember making my first money right after finishing high school because I knew those things.

My point is, that this book actually knows how to begin. It teaches you the basics so you can actually start to practice. Years later I bought another book that... for the first 400 pages had everything about PHP and for the last 400 pages everything about MySQL. That book had no flow... it had nothing. Just pages and pages about functions and stuff. Because of that lame book I actually learned to appreciate this book more.
19 reviews2 followers
September 12, 2011
As a beginning programmer with only a handful of QBasic experience, this was the book that showed me everything I needed to know to start exploring my creative potential efficiently when programming. It gives excellent examples that clearly unify the model, view, controller framework at a low enough level that I never felt any unwarranted assumptions about my knowledge and understanding were made. This was back in the PHP 4 days, so things might have changed, but I owe a lot to this book all the same.
Profile Image for Rick.
20 reviews
January 4, 2013
This is a good introduction to web programming using PHP and MySQL. The material is clear and comprehensive, and the examples illustrate the principles well. You should have a working understanding of HTML and CSS before getting into PHP and MySQL, just for practical purposes since PHP is often used to generate HTML from data stored in a database (e.g., MySQL). The material provides a good, broad foundation for working with PHP and MySQL, but don't expect to be an expert when completing the book.
1 review
June 7, 2010
In common this book has answered almost al my questions.But...
According to PHP tutorial, using the substitutions for the bold terms, plus substituting DBPASSWORD with your own mysql password:

* Replace DBSERVER with the correct database servername for your site.
* Replace DBUSERNAME with your own mysql username.
* Replace DBNAME with your own mysql databasename.
So I coud not find these examples

Profile Image for Marian.
285 reviews217 followers
August 8, 2015
I borrowed this book from the campus library, hoping it would give me some guidance on a database project. Turns out it has some excellent tutorials, e.g. the middle part of the book is easily readable even if you only know basic MySQL/PHP. The concise examples and explanations definitely helped me make rapid progress and learn more PHP than I could have otherwise. I would consider purchasing a newer edition for future reference.
1,027 reviews21 followers
August 7, 2011
A good PHP book for someone who can already program (whether in PHP or some other language). The strength lies in 2 or 3 of the case studies, which, while falling short of production-quality code, can help you transition from the noddy examples you see in most books and web tutorials to reasonably well-styled larger programs.
Profile Image for Jesse Jones.
26 reviews4 followers
February 27, 2013
By far one of the best books for getting started with PHP and MySQL. The book starts off slow and is perfect for a beginner to get started in database/dynamic web page creation. Over the course you create a shopping cart and learn how to integrate web services into your website. For PHP and MySQL, this is one of the best introductions.
136 reviews7 followers
February 20, 2010
This is a great guide to PHP and MySQL, but it's worth noting that it contains various typographical errors. Confident programmers shouldn't find this a problem, as the mistakes are minor and easily fixed.
Profile Image for James napoli.
10 reviews2 followers
May 16, 2011
working my way through building a dynamic php/mySql website, and this book is full of flaws and code that simply doesnt work. nearly 1k book, spends about 2 1/2 pages on actual php and mysql output/integration...weakSauce.
Profile Image for Stacia.
436 reviews2 followers
July 22, 2011
I needed to learn how to code specific things rather quickly, and I was able to get code implemented and working in a short amount of time after I got this book. I can also use this as a reference for certain php methods. For that reason, I give this 4 stars.
Profile Image for Graeme Breathnach.
5 reviews9 followers
June 8, 2013
This book is very instructive. The examples in the book are excellent. Within a day or two of getting my hands on the book I was able to set up a database-driven website. Worked a treat and met all of my needs.
Profile Image for Sathya Prakash Moparthi.
2 reviews
February 15, 2014
Before this book i used PHP for general programming purpose, but now i have a slight change in my perspective a i knew that i could be applied to large scale applications by the help of MySQL as back-end.
Profile Image for Matt.
5 reviews3 followers
August 1, 2007
Read this book in one night...
Profile Image for RJ.
151 reviews5 followers
Read
October 31, 2008
PHP and MySQL Web Development (4th Edition) (Developer's Library) by Luke Welling (2008)
Displaying 1 - 30 of 55 reviews

Join the discussion

Can't find what you're looking for?

Get help and learn more about the design.