[...]... 561 Brief Guide to MySQL/ PHP Installation and Configuration 571 MySQL Utilities 583 MySQL User Administration 597 PHP Function Reference 607 Regular Expressions Overview 659 Helpful User-Defined Functions 669 PHP and MySQL Resources 691 MySQL Function Reference... scripts you need to know how to design a database, create tables in your database, and get the information you want from the database Part I of this book shows you just about everything you need to know to work with MySQL ix x Preface Part II: Working with PHP As an applications developer, you will spend the bulk of your time writing scripts that access the database and present HTML to a user’s browser... through these pages, you’re probably considering writing Web-based applications with PHP and MySQL If you decide to go with these tools, you’ll be in excellent company Thousands of developers — from total newbies to programmers with years of experience — are turning to PHP and MySQL for their Web-based projects, and for good reason Both PHP and MySQL are easy to use, fast, free, and powerful If you want to... you might still use applications that are in no way dependent on the client In other words, applications in which all the work is done on the central computer The client In this book, you’ll learn how to use MySQL and PHP to create applications that make use of a single client: the Web browser This is not the only possibility for Internet-based applications For very sophisticated applications that require... creating a moderately sized commerce site, MySQL has all the power you need For small to-medium-sized databases, MySQL is extremely fast The developers of MySQL take great pride in the speed of their product For applications like the ones presented in Parts III and IV of this book, it is unlikely you’ll find a database that’s any faster IT’S IMPROVING ALL THE TIME MySQL is improving at a staggering rate... of PHP s LDAP functions or MySQL s C application program interface (API) Instead, we focus on the pieces of both packages that affect one another We hope that by the time you’re done with this book you’ll know what it takes to get an application up and running using PHP and MySQL How This Book Is Organized We have organized the book into five parts Part I: Working with MySQL Before you code any PHP. .. Guide to MySQL/ PHP Installation and Configuration 571 MySQL Utilities 583 MySQL User Administration 597 PHP Function Reference 607 Regular Expressions Overview 659 Helpful User-Defined Functions 669 Appendix Appendix Appendix Appendix Appendix D E F G H Contents Appendix I Appendix J PHP. .. Contents Appendix I Appendix J PHP and MySQL Resources 691 MySQL Function Reference 697 Index 735 End-User License Agreement 765 xxiii Introduction Soon we will head off on a fabulous journey, a journey on which we will explore the ins and outs of MySQL and PHP database applications in great detail It’s going... showing you the basics of the PHP scripting language, covering how PHP works with variables, conditions, and control structures Part II also covers many of PHP s functions and discusses techniques for writing clean, manageable code Part III: Simple Applications In this part we present two of the nine applications in this book: a guestbook and a survey Here you see the lessons from Parts I and II put... terrific databases, but the cost involved is prohibitive for many MySQL is free for development and can be used in a live production environment for a minimal cost (see https://order .mysql. com/index .php? infopage=1 for more details on licensing MySQL) IT’S QUICK AND POWERFUL MySQL might not have every bell and whistle available for a relational database, but for most users it has plenty If you are serving . alt="" MySQL ® /PHP Database Applications, Second Edition Brad Bulger, Jay Greenspan, and David Wall MySQL ® /PHP Database Applications, Second Edition MySQL ® /PHP Database Applications, Second. David Wall MySQL ® /PHP Database Applications, Second Edition Published by Wiley Publishing, Inc. 10475 Crosspoint Boulevard Indianapolis, IN 46256 www .wiley. com Copyright © 2004 by Wiley Publishing,. Congress Cataloging-in-Publication Data: 2002114859 Trademarks: Wiley, the Wiley Publishing logo, and related trade dress are trademarks or registered trademarks of John Wiley & Sons, Inc. and/or