Skip to content

The Joy of PHP

A Beginners Guide to Programming with PHP and mySQL

  • Home
  • About the book
  • Get the Code
  • Buy the book

Author: Alan

Variables – Bad Form

Posted on October 8, 2012February 7, 2013 by Alan

This is a small example of the ‘bad’ form of variable naming.  What’s bad about it is the fact when you read the code:   echo “This $a $b is a $c <br>“;  it is all but impossible to guess which variable is which.  Contrast this with the ‘good form’ variables, which is much easier to […]

Continue Reading
Code Samples Leave a Comment on Variables – Bad Form

Chapter one – What is PHP?

Posted on October 6, 2012October 6, 2012 by Alan

Hi all, I struggled over this perhaps more than I needed to, but I really want newbies to understand what PHP is.  So that’s the first chapter.  Comments welcome, of course.   Here’s a link to a short PDF. Joy of PHP Chapter 1

Continue Reading
Draft Leave a Comment on Chapter one – What is PHP?

Table of Contents

Posted on October 3, 2012February 3, 2013 by Alan

Click here to download the first 9 pages of the book, which includes the full table of contents. Joy of PHP – Table of Contents

Continue Reading
eBook Leave a Comment on Table of Contents

Welcome

Posted on September 6, 2012November 16, 2012 by Alan

PHP is a great programming language. It’s free, powerful, relatively easy to setup and learn, and it has extensions and frameworks available to do almost anything you could imagine. Frankly, it’s just plain fun too. But if you’ve never programmed before or have programmed before but not with PHP and want to learn it, wouldn’t […]

Continue Reading
eBook Leave a Comment on Welcome

Posts navigation

Newer Posts
Recent Posts
  • 6th Edition now available
  • Running the code in a Docker Container
  • Updated website
  • Sorry for the outage
  • Happy 20th birthday to PHP
Recent Comments
    RSS SitePoint
    • Quick Tip: Creating Polymorphic Components in TypeScript
    • How to Remove a Background in Photoshop: 7 Quick & Easy Methods
    • WooCommerce vs Shopify: Which Is the Better Choice for You?
    • Designing for All: The Basic Principles of Web Accessibility
    • A Complete Guide to LangChain in Python
    • Extending the Properties of an HTML Element in TypeScript
    • A Comprehensive Comparison of TypeScript Type vs Interface
    • Node.js vs Django: Which is Better for Web Development in 2023?
    • Quick Tip: Decorators in TypeScript
    • An Introduction to LangChain: AI-Powered Language Modeling
    Archives
    • July 2020
    • January 2020
    • December 2019
    • November 2016
    • June 2015
    • January 2014
    • November 2013
    • September 2013
    • August 2013
    • June 2013
    • March 2013
    • February 2013
    • December 2012
    • November 2012
    • October 2012
    • September 2012
    Categories
    • Code Samples
    • Draft
    • eBook
    • MySQL
    • PHP Syntax
    • Sponsors
    • Uncategorized
    • Updates
    Meta
    • Log in
    • Entries feed
    • Comments feed
    • WordPress.org
    Bootstrap 4 WordPress Theme | Theme Name: WP Bootstrap 4.