PHP & MySQL: Novice to Ninja, 5th Edition

PHP & MySQL Novice to Ninja, 5th Edition

Kevin Yank

Curious to see what we’ve got in store for you?

Good, because there’s plenty of meaty technique to get your teeth into along with lots of tips and tricks. Have a look through the table of contents to see what’s covered.

Table of Contents

  1. About the Author

  2. Preface

    • Who Should Read This Book
    • What's in This Book
    • Where to Find Help
    • The SitePoint Newsletters
    • Your Feedback
    • Conventions Used in This Book
  3. 1. Installation

    • Your Own Web Server
    • Windows Installation
    • Mac OS X Installation
    • Linux Installation
    • What to Ask Your Web Host
    • Your First PHP Script
    • Full Toolbox, Dirty Hands
  4. 2. Introducing MySQL

    • An Introduction to Databases
    • Using phpMyAdmin to Run SQL Queries
    • 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
  5. 3. Introducing PHP

    • Basic Syntax and Statements
    • Variables, Operators, and Comments
    • Arrays
    • User Interaction and Forms
    • Control Structures
    • Hiding the Seams
    • Bring on the Database
  6. 4. Publishing MySQL Data on the Web

    • The Big Picture
    • Creating a MySQL User Account
    • 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
  7. 5. 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
  8. 6. Structured PHP Programming

    • Include Files
    • Custom Functions and Function Libraries
    • Structure in Practice: Template Helpers
    • The Best Way
  9. 7. A Content Management System

    • The Front Page
    • Managing Authors
    • Managing Categories
    • Managing Jokes
    • Summary
  10. 8. Content Formatting with Regular

    • Expressions
    • Regular Expressions
    • String Replacement with Regular Expressions
    • Real World Content Submission
  11. 9. Cookies, Sessions, and Access Control

    • Cookies
    • PHP Sessions
    • Access Control
    • The Sky's the Limit
  12. 10. MySQL Administration

    • Backing Up MySQL Databases
    • MySQL Access Control Tips
    • Indexes
    • Foreign Keys
    • Better Safe than Sorry
  13. 11. Advanced SQL Queries

    • Sorting SELECT Query Results
    • Setting LIMITs
    • Database Transactions
    • Column and Table Name Aliases
    • GROUPing SELECT Results
    • LEFT JOINs
    • Limiting Results with HAVING
    • Further Reading
  14. 12. Binary Data

    • Semidynamic Pages
    • Handling File Uploads
    • Recording Uploaded Files in the Database
    • Putting It All Together
    • Large File Considerations
    • The End
  15. A. Manual Installation Instructions

    • Windows
    • OS X
    • Linux
  16. B. MySQL Syntax Reference

    • SQL Statements Implemented in MySQL
  17. C. MySQL Functions

    • Control Flow Functions
    • Mathematical Functions
    • String Functions
    • Date and Time Functions
    • Miscellaneous Functions
    • Functions for Use with GROUP BY Clauses
  18. D. MySQL Column Types

    • Numerical Types
    • Character Types
    • Date/Time Types
  19. Index

Only$39(Print)

PHP & MySQL: Novice to Ninja, 5th Edition

Add to Cart

Author Notes

Just as PHP and MySQL have grown from the young upstarts of the web development world into mature, stable platforms for billion-dollar businesses, this book that I’ve been writing again and again for over a decade has grown up.

It’s time to write PHP like the big kids do…

lorna-thumbnail Kevin Yank Author kevinyank.com

What’s New in the Fifth Edition?

  • Up-to-date: updated for Windows 7, Mac OS X Lion, and the latest versions of PHP, MySQL, and phpMyAdmin
  • Now even easier to get started: using all-in-one installation packages like XAMPP and MAMP
  • No command prompt required: phpMyAdmin is used for all database administration tasks, and for sending SQL commands to MySQL
  • Best practice database code: this edition uses the robust and portable PHP Data Objects (PDO) API and prepared statements to work with MySQL.
  • HTML5 markup: easy-to-read HTML5 markup that all the cool kids are using these days.

Customer Reviews

Live, unmoderated reviews from our customers, typos and all.
Gravatar

Kevin Yank does a great job bringing cutting edge principles to the beginers mind. His examples and explainations are easy to follow.

Joey Katnich, USA 5 stars

Gravatar

Awesome design very good explanation of the code and how it works makes it so easy to learn anyone with or without code experience can use it.

James Ledbetter, USA 5 stars

Gravatar

A easy read, very easy to understand and would be great for everyone; no matter how much you do or don't know about PHP and MySQL.

Jared Coggins, USA 5 stars

Reviews:
See More Reviews or Write Your Own

The contents of this web page are copyright © 1998–2013 SitePoint Pty. Ltd. All Rights Reserved.