In MySQL/PHP Database Applications
, Jay Greenspan and Brad Bulger explain how to work with PHP and MySQL, primarily for applications you might use on a Web site. How could the combination of this capable pair--which is feature-rich, highly reliable, capable of dealing with large traffic volumes, and absolutely free of charge in most cases--be any better? Take the time to study the advice and work through your own tests of the concepts presented, and it's pretty much certain that you'll walk away with the knowledge you need to do serious development work with the PHP scripting language and the MySQL database server.
Rather than make up trivial programs just to illustrate aspects of the MySQL/PHP environment, this book features code snippets, half a page or so in length each, which illustrate the behaviour of key code structures. For example, in explaining conditional statements in PHP, the book gives you a no-frills IF statement with real values in place. It's not always obvious how the code structures will behave in practice, but the book does a consistently good job of commenting intelligently on the place of each aspect of the language in a well-designed application. The latter half attacks specific problems--a chat system, a guest book, and so on--and walks through the setup of MySQL and each important PHP function for each. --David Wall
Topics covered: The PHP server-side scripting language and the MySQL database server, explained for people who have neither a lot of database administration background nor programming experience. Matters of creating and querying databases, and of performing simple and advanced operations with PHP scripting, are covered adroitly.
--This text refers to an out of print or unavailable edition of this title.
From the Back Cover
Learn what it takes to get data–driven Web sites up and running using PHP 5 and MySQL
The popularity of using MySQL and PHP to create organized and efficient Web sites is growing at a steady pace. MySQL has proven itself to be fast, robust, and easy to use. It works well with PHP, and its perfect for Web applications for simple to robust sites. For many developers, PHP is the next obvious step from HTML due to the fact that it was written specifically for use on the Web, its cross–platform, and its relatively easy to understand and write. MySQL/PHP Database Applications, Second Edition, demonstrates Web–application development using MySQL and PHP by presenting multiple practical, ready–to–use examples ranging from a simple guestbook to a fully functional e–commerce site with a shopping cart. Other applications include a catalog, a content manager, a threaded discussion, and a problem–tracking system. Youll learn the essentials of working with MySQL and PHP so you can start building and customizing database applications for the Web in no time!
This edition offers updated coverage of MySQL 4.0 and an extensive look ahead into PHP 5. The example code was rewritten to run against the new PHP engine, and this edition explores its new object–oriented features, as well as improvements in XML processing, remote file access, and other areas. Containing advice on how to easily tweak and customize a site, this book:
- Provides a concise introduction to working with MySQL and PHP
- Includes complete applicationsproject management system and message board
- Delivers ready–to–use code for error handling, user and session management, and templating
- Helps create code with SOAP services
The CD–ROM contains the example code and applications from the book, as well as MySQL, PHP, and Apache.