Product Overview
Looking for the old edition of “Build Your Own Database Driven Web Site Using PHP & MySQL, 4th Edition?”
Download the code archive or view errata of the old edition here.
Build Your Own Database Driven Web Site, 4th Edition
Table Of Contents
- Here's a look at the table of contents:
- Preface
- Who Should Read This Book
- What’s in This Book
- Where to Find Help
- The SitePoint Forums
- The Book’s Web Site
- The SitePoint Newsletters
- Your Feedback
- Conventions Used in This Book
- Code Samples
- Tips, Notes, and Warnings
- Installation
- Your Own Web Server
- Windows Installation
- All-in-one Installation
- Installing Individual Packages
- Mac OS X Installation
- All-in-one Installation
- Installing Individual Packages
- Linux Installation
- Installing MySQL
- Installing PHP
- Post-Installation Set-up Tasks
- What to Ask Your Web Host
- Your First PHP Script
- Full Toolbox, Dirty Hands
- Introducing MySQL
- An Introduction to Databases
- Logging On to MySQL
- Structured Query Language
- Creating a Database
- Creating a Table
- Inserting Data into a Table
- Viewing Stored Data
- Modifying Stored Data
- Deleting Stored Data
- Let PHP Do the Typing
- Introducing PHP
- Basic Syntax and Statements
- Variables, Operators, and Comments
- Arrays
- User Interaction and Forms
- Control Structures
- Hiding the Seams
- Avoid Advertising Your Technology Choices
- Use PHP Templates
- Many Templates, One Controller
- Bring On the Database
- Publishing MySQL Data on the Web
- The Big Picture
- Connecting to MySQL with PHP
- Sending SQL Queries with PHP
- Handling SELECT Result Sets
- Inserting Data into the Database
- Deleting Data from the Database
- Mission Accomplished
- Relational Database Design
- Giving Credit Where Credit is Due
- Rule of Thumb: Keep Entities Separate
- SELECT with Multiple Tables
- Simple Relationships
- Many-to-Many Relationships
- One for Many, and Many for One
- Structured PHP Programming
- Include Files
- Including HTML Content
- Including PHP Code
- Types of Includes
- Shared Include Files
- Custom Functions and Function Libraries
- Variable Scope and Global Access
- Structure in Practice: Template Helpers
- The Best Way
- Include Files
- A Content Management System
- The Front Page
- Managing Authors
- Deleting Authors
- Adding and Editing Authors
- Managing Categories
- Managing Jokes
- Searching for Jokes
- Adding and Editing Jokes
- Deleting Jokes
- Summary
- Content Formatting with Regular
Expressions
- Regular Expressions
- String Replacement with Regular
Expressions
- Boldface and Italic Text
- Paragraphs
- Hyperlinks
- Matching Tags
- Putting It All Together
- Real World Content Submission
- Cookies, Sessions, and Access Control
- Cookies
- PHP Sessions
- A Simple Shopping Cart
- Access Control
- Database Design
- Controller Code
- Function Library
- Managing Passwords and Roles
- A Challenge: Joke Moderation
- The Sky’s the Limit
- MySQL Administration
- phpMyAdmin
- Backing Up MySQL Databases
- Database Backups Using mysqldump
- Incremental Backups Using Binary Logs
- MySQL Access Control
- Granting Privileges
- Revoking Privileges
- Access Control Tips
- Locked Out?
- Checking and Repairing MySQL Data Files
- Better Safe than Sorry
- Advanced SQL Queries
- Sorting SELECT Query Results
- Setting LIMITs
- LOCKing TABLES
- Column and Table Name Aliases
- GROUPing SELECT Results
- LEFT JOINs
- Limiting Results with HAVING
- Further Reading
- Binary Data
- Semi-dynamic Pages
- Handling File Uploads
- Assigning Unique Filenames
- Recording Uploaded Files in the Database
- Binary Column Types
- Storing Files
- Viewing Stored Files
- Putting It All Together
- Large File Considerations
- MySQL Packet Size
- PHP Script Timeout
- The End
- A. MySQL Syntax Reference
- SQL Statements Implemented in MySQL
- ALTER TABLE
- ANALYZE TABLE
- CREATE DATABASE
- CREATE INDEX
- CREATE TABLE
- DELETE
- DESCRIBE/DESC
- DROP DATABASE
- DROP INDEX
- DROP TABLE
- EXPLAIN
- GRANT
- INSERT
- LOAD DATA INFILE
- LOCK/UNLOCK TABLES
- OPTIMIZE TABLE
- RENAME TABLE
- REPLACE
- REVOKE
- SELECT
- SET
- SHOW
- TRUNCATE
- UNLOCK TABLES
- UPDATE
- USE
- SQL Statements Implemented in MySQL
- B. MySQL Functions
- Control Flow Functions
- Mathematical Functions
- String Functions
- Date and Time Functions
- Miscellaneous Functions
- Functions for Use with GROUP BY Clauses
- C. MySQL Column Types
- Numerical Types
- Character Types
- Date/Time Types
- D. PHP Functions for Working with
MySQL
- Common PHP
mysqli_*Functionsmysqli_affected_rowsmysqli_character_set_namemysqli_closemysqli_connectmysqli_connect_errnomysqli_connect_errormysqli_data_seekmysqli_errnomysqli_errormysqli_fetch_allmysqli_fetch_arraymysqli_fetch_assocmysqli_fetch_fieldmysqli_fetch_field_directmysqli_fetch_fieldsmysqli_fetch_lengthsmysqli_fetch_objectmysqli_fetch_rowmysqli_field_countmysqli_field_seekmysqli_field_tellmysqli_free_resultmysqli_get_client_infomysqli_get_client_versionmysqli_get_host_infomysqli_get_proto_infomysqli_get_server_infomysqli_get_server_versionmysqli_infomysqli_insert_idmysqli_num_fieldsmysqli_num_rowsmysqli_pingmysqli_querymysqli_real_escape_stringmysqli_real_querymysqli_select_dbmysqli_set_charsetmysqli_statmysqli_store_resultmysqli_thread_idmysqli_use_result
- Common PHP
- Index
Now that you realize this book can advance you how can you possibly go wrong investing $29.95 on something that can dramatically change the course of your career?
Instant Download!
This title available in Adobe PDF, Kindle (mobi) and ePub (IOS) formats



