This is the programmer's guide to building robust web applications with PHP and MySQL. This is a comprehensive, practical guide for programmers who want to develop production-quality, database-enabled web applications with PHP and MySQL. Long-time developer Marc Wandschneider systematically addresses the entire process: not only coding, but also upfront application, user interface and database design, Plus security, testing, and more. You'll walk through building three applications from start to finish: a calendaring system, a weblog engine, and an e-commerce store. Along the way, you'll master essential strategies for creating robust web database applications and learn how to avoid the common pitfalls that trip up many developers moving to PHP and MySQL. It starts with a complete primer on PHP for developers including coverage of code organization, reuse, and object-oriented PHP. It contains detailed treatments of data access, including transactions, foreign keys, and indexes. It presents powerful data validation techniques utilizing PHP regular expressions. It walks through planning web applications, including user interfaces and user management. It offers systematic guidance on securing web applications from end to end. This book covers a wide range of implementation issues including internationalization, error handling, data validation, debugging, session management, and deployment. It includes detailed chapters on XML, XML-based web services, and the PEAR framework for reusable PHP components. It shows how to work with the Oracle and PostgreSQL databases.