- Introduction
- What is PHP?
- Why Use PHP?
- How PHP Works
- What You’ll Need
- About This Book
- Companion Web Site
- Chapter 1: Getting Started With PHP
- Basic XHTML Syntax
- Basic PHP Syntax
- Testing Your Script
- Sending Text to the Browser
- Sending HTML to the Browser
- Using White Space in PHP and HTML
- Adding Comments to Your Scripts
- Chapter 2: Variables
- What are Variables?
- Variable Syntax
- Types of Variables
- Assigning Values to Variables
- Understanding Quotation Marks
- Chapter 3: HTML Forms and PHP
- Creating a Simple Form
- Using GET or POST
- Receiving Data from a Form in PHP
- Displaying Errors
- Error Reporting
- The Register Globals Problem
- Manually Sending Data to a Page
- Chapter 4: Using Numbers
- Creating the Form
- Adding, Subtracting, Multiplying, and Dividing
- Formatting Numbers
- Incrementing and Decrementing a Number
- Creating Random Numbers
- Chapter 5: Using Strings
- Creating the HTML Form
- Connecting Strings (Concatenation)
- Combating Magic Quotes
- HTML and PHP
- Encoding and Decoding Strings
- Replacing Parts of a String
- Other String Functions
- Chapter 6: Control Structures
- Creating the HTML Form
- The if Conditional
- Using Else
- More Operators
- Using elseif
- The Switch Conditional
- The For Loop
- Chapter 7: Using Arrays
- What Is an Array?
- Creating an Array
- Adding Items to an Array
- Accessing Array Elements
- Creating Multidimensional Arrays
- Sorting Arrays
- Transforming Between Strings and Arrays
- Creating an Array from a Form
- Chapter 8: Creating Web Applications
- Creating Templates
- Using External Files
- Using Constatns
- Working with the Date and Time
- Handling HTML Forms with PHP, Revisited
- Making Forms Sticky
- Sending Email
- Output Buffering
- Manipulating HTTP Headers
- Chapter 9: Cookies and Sessions
- What Are Cookies?
- Creating Cookies
- Reading from Cookies
- Adding Parameters to a Cookie
- Deleting a Cookie
- What Are Sessions?
- Creating a Session
- Accessing Sessoin Variables
- Deleting a Session
- Chapter 10: Creating Functions
- Creating and Using Simple Functions
- Creating and Calling Functions that Take Arguments
- Setting Default Argument Values
- Creating and Using Functions that Return a Value
- Understanding Variable Scope
- Chapter 11: Files and Directories
- File Permissions
- Writing to Files
- Locking Files
- Reading from Files
- Handling File Uploads
- Navigating Directories
- Creating Directories
- Reading Files Incrementally
- Chapter 12: Intro to Databases
- Introduction to SQL
- Connecting to MySQL
- MySQL Error Handling
- Creating and Selecting a Database
- Creating a Table
- Inserting Data into a Database
- Retrieving Data from a Database
- Deleting Data in a Database
- Updating Data in a Database
- Chapter 13: Regular Expressions
- What are Regular Expressions?
- Matching Patterns
- Using Literals
- Using Metacharacters
- Using Quantifiers
- Using Classes
- Matching and Replacing Patterns
- Appendix A: Installation and Configuration
- Installing on Windows 2000
- Installing on Mac OS X
- Using the MySQL Monitor
- Creating MySQL Users
- PHP Configuration
- Appendix B: Resources
- Online PHP Resources
- Database Resources
- Advanced Topics
- Top Ten Frequently Asked Questions (or Problems)
- Tables
Subscribe to Larry’s Newsletter
Use your browser to subscribe to the blog's RSS feed, if you'd like. You can also subscribe to Larry's monthly (email) newsletter by providing the information below. Click the NEWSLETTER > ARCHIVES link above to view examples. I sometimes give away copies of my books through the newsletter, if you need further enticement.
Series
Tags
99designs about ajax Amazon app article blog book books cdn cloudfront css3 database e-commerce ecom flash builder framework hosting html html5 html forms ide jquery jsdd mamp mobile mvc newsletter nosql oop performance php6 phpmysql4 phpvqp3 phpvqs4 programming security software ui user interface utilities video writing yii zend


No Responses (yet)
Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.